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: [email protected] [mailto:[email protected]] 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

_______________________________________________
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

Reply via email to