Solved

CSS Link Tags

Posted on 2004-10-13
3
157 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
ID: 12300826
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
ID: 12301060
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
ID: 12301595
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do i remove the outer scrollbar? 2 38
Most reliable mobile browser emulator? 3 63
Table changes size when I click edit 7 24
Objects on Same Line 2 18
Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

920 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

14 Experts available now in Live!

Get 1:1 Help Now