Is the text part of a link? If not you're probably out of luck unless you
make it so:
<a href="#">the text</a>
If already a link you probably want something like this:
td. MenuButton a:hover {
color:RED;
font-weight: Bold;
}
cheers,
Steve
_____
From: PDS - John [mailto:[email protected]]
Sent: Wednesday, 8 April 2009 3:32 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] web hover
Hi web gurus
I have a table with background image and a text in front. I'd like to have a
separate HOVER colour for this text ( so not the same hover as elswhere on
the page).
How can I do this?
I have the following CSS showing the image and the text, but does not show
the RED hover for this MenuButton associated text:
td.MenuButton {
background: url(Images/MenuButtons/btnEmpty.gif) no-repeat
center;
}
td. MenuButton:hover {
color:RED;
font-weight: Bold;
}
a:hover {
color:Yellow;
}
Thanks a lot
John C
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.238 / Virus Database: 270.11.23/2016 - Release Date: 04/07/09
17:53:00
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with Subject:
unsubscribe