[thelist] pseudo-class selectors (css problem)

Bill Mason data at data1701d.com
Wed Jul 11 13:05:54 CDT 2001


At 11:00 AM 7/11/01, Stan Haskins wrote:
>The "nav" class obviously has a different set of properties which all work
>fine, except for the links. Here's what I have in my style sheet:
>*************************
>a:link {color:#ff0;}
>a:visited {color:#ccc;}
>a:hover {color:#000; font-style:italic;}
>a:active {color:#fff;}
>
>a.nav:link {color:#0f0;}
>a.nav:visited {color:#000;}
>a.nav:hover {color:#000; font-style:italic;}
>a.nav:active {color:#000;}
>********************************
>
>What am I missing?

This code would only work if the <A> tags had a class "nav" assigned to them.

Either assign the <A> tags to a class, or rewrite your code as:
DIV.nav A:link {etc}

Bill Mason
data at data1701d.com
Dateline: Starfleet
http://www.data1701d.com
http://profile.guru.com/billmason





More information about the thelist mailing list