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? Quote Link to comment 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> Quote Link to comment Share on other sites More sharing options...
rockinaway Posted December 25, 2007 Author Share Posted December 25, 2007 Doesn't work Quote Link to comment 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 Quote Link to comment 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... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.