[thelist] CSS Link Question

Roger Ly rogerly at bareviking.com
Thu May 23 13:55:01 CDT 2002


>The first set uses the a:active, a:hover etc.
>how and where do I set up the second set of links?
>Can I do it in my linked style
>sheet or do I have to build it in to the page.

try this:

.main_nav { color: #0000FF; }
a.main_nav:hover { color: #FF0000; }

.secondary_nav { color: #00FF00; }
a.secondary_nav:hover { color: #FFFFEE; }

<A HREF="http://www.yahoo.com"
CLASS="main_nav">yahoo</A>
<A HREF="http://www.homestead.com"
CLASS="secondary_nav">homestead</A>

Roger





More information about the thelist mailing list