• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 269
  • Last Modified:

css class for a:link and a:visited

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
R8VI
Asked:
R8VI
  • 4
1 Solution
 
s8webCommented:
.editbutton, .editbutton:visited, .editbutton:link
{
   border: none;
   color: red
}

Open in new window

0
 
s8webCommented:
To be thorough, what does your markup look like?
0
 
s8webCommented:
Unless you want borders and outlines around anchor elements, border:none;outline:none should be part of your reset css.
0
 
s8webCommented:
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now