[DUG] web hover
Stephen Barker
Steve at webdata.co.nz
Wed Apr 8 18:00:15 NZST 2009
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:John at padasy.co.nz]
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20090408/7abeb017/attachment.html
More information about the Delphi
mailing list