[thelist] pseudo-class selectors (css problem)

Hassan Schroeder hassan at webtuitive.com
Wed Jul 11 18:10:26 CDT 2001


Stan Haskins wrote:

> I'm having no luck assigning different properties to two different sets of
> links on a single page using an external style sheet.

> 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;}

d'udda'way --

  a:link.nav { ....  

is what you want ...

> ********************************

HTH!
-- 
H*
Hassan Schroeder ----------------------------- hassan at webtuitive.com 
Webtuitive Design ---(+1) 408-938-0567 --- http://www.webtuitive.com

    -- creating dynamic Web sites and applications since 1994 --




More information about the thelist mailing list