Mike

You can use CSS classes to achieve this...

<style>

A.LightLink {
        color : white;
}
A.DarkLink {
        color: black;
}

A.LightLink:Hover {
        color : yellow;
}
A.DarkLink:Hover {
        color : red;
}
</style>

Then specify the class of the link...

<a href="this" class="DarkLink">that</a>

And depending on what class  you specify you will have different colors.


Pete Freitag ([EMAIL PROTECTED])
CFDEV.COM
ColdFusion Developers Resources
http://www.cfdev.com/


-----Original Message-----
From: Mike Amburn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 10:40 AM
To: CF-Talk
Subject: OT: Hover attribute with two different colors


Suppose I have two links on a page, one link is white on a dark
background and one is black on a light background. Is there any way to
get each to "hover" (i.e. CSS hover) a different color or is the hover
property global to the entire page?

-mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to