...

View Full Version : Multiple Link Effects



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

This is wot i have ::

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

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

:D

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

i know this is possible, but how ??

cheers

croakingtoad
01-26-2004, 06: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>

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

MUCH APPRECIATED !!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum