PDA

View Full Version : onmouseout


Osterling
02-02-2007, 02:54 PM
I have this code and it works when the mouse goes over but it doesn't work when the mouse moves off of it. The code is below, any help would be great!

<td bgcolor="#FF9900" valign="top" style="border: 2px solid #00003B" onmouseover="style.backgroundImage='url(hover-bg.jpg)'" onmouseout="style.backgroundColor='#00003B'">

Dismounted
02-03-2007, 03:58 AM
Try:
<td bgcolor="#FF9900" valign="top" style="border: 2px solid #00003B" onmouseover="style.backgroundImage='url(hover-bg.jpg)'" onmouseout="style.background-color='#00003B'">