Solved

css class for a:link and a:visited

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

770 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