View Full Version : Multiple Link Effects

01-26-2004, 04:48 PM
Can anyone tell me how to use multiple effects for links

This is wot i have ::

a:link {color: #FFFFFF; text-decoration: none}
a:hover {color: #CC00000; text-decoration: underline}

so, all of my links turn in WHITE, and when hovered, turns RED...


but, i want have these links and another set of these for a different set of links ??

i know this is possible, but how ??


01-26-2004, 05:13 PM
You need to setup CSS classes like this:

a.link1:hover { }
a.link1:link { }

a.link2:hover { }
a.link2:link { }

Then, when you setup the link to apply the class do this:

<a href="http://www.yourdomain.com" class="link1">http://www.yourdomain.com/</a>

01-26-2004, 05:13 PM
ok, thx for the reply !!


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum