Solved

css class for a:link and a:visited

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Do alert on select 6 15
Why "Mobile First"? 5 19
IF statment In Powershell 12 17
Easy css question moving title underneath an image 4 16
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

830 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