Solved

CSS Link Tags

Posted on 2004-10-13
3
158 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to create a 3-column full-width flex button layout 1 30
css issues with IE 11 8 33
Width of Page is Affecting Side Menu 6 24
Input box width 6 25
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
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…

816 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

12 Experts available now in Live!

Get 1:1 Help Now