Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

css class for a:link and a:visited

Posted on 2012-03-10
4
Medium Priority
?
264 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
4 Comments
 
LVL 16

Accepted Solution

by:
s8web earned 2000 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
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 benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

618 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