robert_gsfame Posted September 9, 2009 Share Posted September 9, 2009 Can anyone help me...i try to change td background once hover. I use ths td.hov:hover{background xxxxxxxxxxxx;} I get the effect in MOZILLA but it goes nothing in IE can help me with the code or anything else that might works in both MOZILLA and IE? Link to comment https://forums.phpfreaks.com/topic/173628-solved-tdhovhoverbackground/ Share on other sites More sharing options...
saltedm8 Posted September 9, 2009 Share Posted September 9, 2009 try td.hov a:hover{background xxxxxxxxxxxx;} see if that works Link to comment https://forums.phpfreaks.com/topic/173628-solved-tdhovhoverbackground/#findComment-915331 Share on other sites More sharing options...
Zane Posted September 9, 2009 Share Posted September 9, 2009 did a quick google and look what I found http://lawrence.ecorp.net/inet/samples/css-ie-hover.shtml Link to comment https://forums.phpfreaks.com/topic/173628-solved-tdhovhoverbackground/#findComment-915334 Share on other sites More sharing options...
saltedm8 Posted September 9, 2009 Share Posted September 9, 2009 that is wrong... you can use things like a:hover a:visited etc etc, there is no need for any script.. basically you are attaching the hover effect ( in this case ) to the <a> tag although it is right that it says just :hover wont work in IE 6 Link to comment https://forums.phpfreaks.com/topic/173628-solved-tdhovhoverbackground/#findComment-915348 Share on other sites More sharing options...
haku Posted September 10, 2009 Share Posted September 10, 2009 If it's IE6, it won't work. IE6 doesn't support :hover on anything other than <a>nchor elements. If it's IE7 or IE8, then you have an error in your code somewhere, because hover works fine with <td> elements. Link to comment https://forums.phpfreaks.com/topic/173628-solved-tdhovhoverbackground/#findComment-915802 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.