Forum Moderators: not2easy
Do I have to aply some sort of javascript? Where can I find one?
here's the code:
a:hover.sublevel { color: #336699; text-decoration: none; background-color: White; background-attachment: fixed; background-image: url(../Images/background/nav_white.gif); }
HTML:
<td height="20" align="left" nowrap class="sublevel">
<a class="sublevel" href="index.html">Controlling</a></td>
Put in CSS:
td.normal{
height: 20px;
color: #336699;
text-decoration: none;
background-color: White;
background-attachment: fixed;
background-image: url(../Images/background/nav_white.gif);
}
td.normalon {
height: 20px;
color: #3366FF;
text-decoration: none;
background-color: White;
background-attachment: fixed;
background-image: url(../Images/background/nav_white.gif);
}
HTML:
<tr>
<td class="normal" onmouseover="this.className='normalon'"
onmouseout="this.className='normal'"><a class="sublevel" href="index.html">Controlling</a></td>
</tr>
Regards,
d_fused
one more thing?
If i roll over the table (not the text in it), it already changes the background (from blue to white) and the text becomes onreadable until you roll over the text (I changed the suggested class "menu" with my class "sublevel"). Then, it changes from white to blue.
any ideas?
what is the correct syntax?
<td height="20" align="left" nowrap class=nav onmouseover="this.className='navon'" onmouseout="this.className='nav'">
or
<td height="20" align="left" nowrap class="nav" onmouseover="this.className='navon'" onmouseout="this.className='nav'">