• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • Last Modified:

CSS Link Tags

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
BeamerCola
Asked:
BeamerCola
  • 2
1 Solution
 
seanpowellCommented:
You need the first example, but in the correct order, like this:

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

Think LoVeHAte...

Sean
0
 
RoonaanCommented:
Does the actual sequence matter realy Sean?

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

-r-
0
 
seanpowellCommented:
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now