We help IT Professionals succeed at work.

css class for a:link and a:visited

R8VI
R8VI asked
on
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
Comment
Watch Question

Commented:
.editbutton, .editbutton:visited, .editbutton:link
{
   border: none;
   color: red
}

Open in new window

Commented:
To be thorough, what does your markup look like?

Commented:
Unless you want borders and outlines around anchor elements, border:none;outline:none should be part of your reset css.

Commented:
Post a link, and we can probably provide a host of insight about your stuff that you may or may not want :)

Explore More ContentExplore courses, solutions, and other research materials related to this topic.