[DUG] web hover
Stefan Mueller
muellers at orcl-toolbox.com
Wed Apr 8 16:26:24 NZST 2009
IE7 does not support hover on tables/cells (and also not on many other
elements) - Firefox does. . and also, links aren't the same as text - if
your cell contains only links then you wouldn't see them change to red (only
normal text changes).
You will need to use some javascript to get around this limitation.
Regards,
Stefan
_____
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of PDS - John
Sent: Wednesday, April 08, 2009 12:32
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20090408/05c984f3/attachment.html
More information about the Delphi
mailing list