Solved

CSS Link Tags

Posted on 2004-10-13
3
156 Views
Last Modified: 2008-03-06
Quick question on CSS Link Tags:

If I'm going to change a links color, do I need to do:
a:link, a:active, a:hover, a:visited {
      font-size: 10px;
      color: #CC6600;
      }

or can I just do
a {
      font-size: 10px;
      color: #CC6600;
      }

Do certain browsers not like #2?

Thanks!
0
Comment
Question by:BeamerCola
  • 2
3 Comments
 
LVL 31

Accepted Solution

by:
seanpowell earned 125 total points
Comment Utility
You need the first example, but in the correct order, like this:

a:link, a:visited, a:hover, a:active

Think LoVeHAte...

Sean
0
 
LVL 49

Expert Comment

by:Roonaan
Comment Utility
Does the actual sequence matter realy Sean?

I've never know! Never to old to learn I suppose :)

-r-
0
 
LVL 31

Expert Comment

by:seanpowell
Comment Utility
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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.
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
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 …

743 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

18 Experts available now in Live!

Get 1:1 Help Now