css class for a:link and a:visited

Posted on 2012-03-10
Last Modified: 2012-03-10

I have a link button with CSS class called editbutton

so looks like this

   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


Question by:R8VI
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
LVL 16

Accepted Solution

s8web earned 500 total points
ID: 37705335
.editbutton, .editbutton:visited, .editbutton:link
   border: none;
   color: red

Open in new window

LVL 16

Expert Comment

ID: 37705344
To be thorough, what does your markup look like?
LVL 16

Expert Comment

ID: 37705346
Unless you want borders and outlines around anchor elements, border:none;outline:none should be part of your reset css.
LVL 16

Expert Comment

ID: 37705347
Post a link, and we can probably provide a host of insight about your stuff that you may or may not want :)

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

734 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