Solved

css class for a:link and a:visited

Posted on 2012-03-10
4
246 Views
Last Modified: 2012-03-10
Hi,

I have a link button with CSS class called editbutton

so looks like this

.editbutton
{
   border: none;
   Color: Red
}

but i also want this to be achieved at a:link and a:visited how do i do this please help

Thanks,

R8VI
0
Comment
Question by:R8VI
  • 4
4 Comments
 
LVL 16

Accepted Solution

by:
s8web earned 500 total points
ID: 37705335
.editbutton, .editbutton:visited, .editbutton:link
{
   border: none;
   color: red
}

Open in new window

0
 
LVL 16

Expert Comment

by:s8web
ID: 37705344
To be thorough, what does your markup look like?
0
 
LVL 16

Expert Comment

by:s8web
ID: 37705346
Unless you want borders and outlines around anchor elements, border:none;outline:none should be part of your reset css.
0
 
LVL 16

Expert Comment

by:s8web
ID: 37705347
Post a link, and we can probably provide a host of insight about your stuff that you may or may not want :)
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now