Hi
I'm trying to change the class of a TD when the mouse rolls over it, but I'm having no luck at all today.
Can anyone spot what I'm doing wrong with the following code?
.nav-blue-sel { font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #FFFFFF;
background-color: #0072E5 }
.nav-blue-nor { font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #0072E5;
background-color: #FFFFFF }
# code in HTML
<td width="77%" class="nav-blue-nor" OnMouseOver="this.class='nav-blue-sel'" height="25">foo</td>
- wil
I'm trying to change the class of a TD when the mouse rolls over it, but I'm having no luck at all today.
Can anyone spot what I'm doing wrong with the following code?
Code:
# snippet from external style sheet .nav-blue-sel { font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #FFFFFF;
background-color: #0072E5 }
.nav-blue-nor { font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #0072E5;
background-color: #FFFFFF }
# code in HTML
<td width="77%" class="nav-blue-nor" OnMouseOver="this.class='nav-blue-sel'" height="25">foo</td>
- wil