Solved

css class for a:link and a:visited

Posted on 2012-03-10
4
249 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

896 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

19 Experts available now in Live!

Get 1:1 Help Now