Solved

CSS Link Tags

Posted on 2004-10-13
3
162 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
[X]
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
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
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 style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

707 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