mkr365 Posted July 15, 2007 Share Posted July 15, 2007 Hello, On this moment i am using the code below for changing the background table color after a mousover wich is working. But now i want a mousover for changing the table border color. I really cant find how to do that. Does somebody know how to do that? <table bgcolor="#ffffff" onMouseOver=this.bgColor="#99CCFF" onMouseOut=this.bgColor="#FFFFFF" width="100%" STYLE="border: 1px solid #b7b7b9; border-collapse: separate; border-spacing: 2px" Thanks in advance! Marcel Quote Link to comment https://forums.phpfreaks.com/topic/60065-solved-mouseover-table-border/ Share on other sites More sharing options...
MadTechie Posted July 15, 2007 Share Posted July 15, 2007 wrong section.. please check the HTML/javascript/css section Quote Link to comment https://forums.phpfreaks.com/topic/60065-solved-mouseover-table-border/#findComment-298739 Share on other sites More sharing options...
mkr365 Posted July 15, 2007 Author Share Posted July 15, 2007 Do i have to post it again in the html section? Quote Link to comment https://forums.phpfreaks.com/topic/60065-solved-mouseover-table-border/#findComment-298742 Share on other sites More sharing options...
MadTechie Posted July 15, 2007 Share Posted July 15, 2007 Na, its been moved:) how about this <style type="text/css"> <!-- .btnav { background-color: #84C1DF; border: 1px #000000 solid;} } --> </style> <table width="200" border="0"> <tr> <td class="btnav" onmouseover="style.backgroundColor='#84DFC1';" onmouseout="style.backgroundColor='#84C1DF'"> Hover </td> <td>Blar</td> </tr> <tr> <td>Blar</td> <td>Blar</td> </tr> </table> Quote Link to comment https://forums.phpfreaks.com/topic/60065-solved-mouseover-table-border/#findComment-298753 Share on other sites More sharing options...
MadTechie Posted July 15, 2007 Share Posted July 15, 2007 Opps ok Border Same idea but still <style type="text/css"> <!-- .btnav { border: 1px #000000 solid; border-color: #FFFF00; } } --> </style> <table width="200" border="0"> <tr> <td class="btnav" onmouseover="style.borderColor='#FF0000';" onmouseout="style.borderColor='#FFFF00'"> Hover </td> <td>Blar</td> </tr> <tr> <td>Blar</td> <td>Blar</td> </tr> </table> Quote Link to comment https://forums.phpfreaks.com/topic/60065-solved-mouseover-table-border/#findComment-298759 Share on other sites More sharing options...
ToonMariner Posted July 15, 2007 Share Posted July 15, 2007 you can use the table:hover but it won't work in older versions of IE. Quote Link to comment https://forums.phpfreaks.com/topic/60065-solved-mouseover-table-border/#findComment-298766 Share on other sites More sharing options...
mkr365 Posted July 15, 2007 Author Share Posted July 15, 2007 Thank you very much and for your effort! Its working, Quote Link to comment https://forums.phpfreaks.com/topic/60065-solved-mouseover-table-border/#findComment-298768 Share on other sites More sharing options...
MadTechie Posted July 15, 2007 Share Posted July 15, 2007 Can you please click "Topic Solved" at the bottom Quote Link to comment https://forums.phpfreaks.com/topic/60065-solved-mouseover-table-border/#findComment-298769 Share on other sites More sharing options...
mkr365 Posted April 18, 2008 Author Share Posted April 18, 2008 Hello, On this moment i am using the code below for changing the background table color after a mousover wich is working. But now i want a mousover for changing the table border color. I really cant find how to do that. Does somebody know how to do that? <table bgcolor="#ffffff" onMouseOver=this.bgColor="#99CCFF" onMouseOut=this.bgColor="#FFFFFF" width="100%" STYLE="border: 1px solid #b7b7b9; border-collapse: separate; border-spacing: 2px" Thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/60065-solved-mouseover-table-border/#findComment-520213 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.