rockinaway Posted December 25, 2007 Share Posted December 25, 2007 My table rows won't highlight, despite hover settings etc in CSS. When I have them applied to the cells it works. What could be wrong? Link to comment https://forums.phpfreaks.com/topic/83150-table-rows-refuse-to-highlight/ Share on other sites More sharing options...
phpQuestioner Posted December 25, 2007 Share Posted December 25, 2007 <table width=100%> <tr onmouseover='this.style.background="yellow"; return true' onmouseout='this.style.background=""; return true'> <td> cell 1 </td> <td> cell 2 </td> <td> cell 3 </td> <td> cell 4 </td> <td> cell 5 </td> </tr> </table> Link to comment https://forums.phpfreaks.com/topic/83150-table-rows-refuse-to-highlight/#findComment-422967 Share on other sites More sharing options...
rockinaway Posted December 25, 2007 Author Share Posted December 25, 2007 Doesn't work Link to comment https://forums.phpfreaks.com/topic/83150-table-rows-refuse-to-highlight/#findComment-423062 Share on other sites More sharing options...
Dane Posted December 26, 2007 Share Posted December 26, 2007 works for me <table width=100%> <tr onmouseover='this.style.background="yellow"; return true' onmouseout='this.style.background="#c3c3c3"; return true'> <td> cell 1 </td> <td> cell 2 </td> <td> cell 3 </td> <td> cell 4 </td> <td> cell 5 </td> </tr> </table> see were ive put in background="#c3c3c3"; thts were the colour needs to go Link to comment https://forums.phpfreaks.com/topic/83150-table-rows-refuse-to-highlight/#findComment-423389 Share on other sites More sharing options...
rockinaway Posted December 26, 2007 Author Share Posted December 26, 2007 Still doesn't work..don't know why... Link to comment https://forums.phpfreaks.com/topic/83150-table-rows-refuse-to-highlight/#findComment-423598 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.