Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 270
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

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