have a similar problem: i have my #nav_bar id with a .first class, which i have originally with an image. but, i want it to change image when it's hovered on, like this:
#nav_bar .first:hover
{
background-image:url(image2.gif);
}
<table cellpadding="0" cellspacing="0" id="nav_bar">
<tr>
<td id="first"><a href="yada yada">yada yada</a></td>
</tr>
</table>
but nothing happens...
am i doing something wrong?
originally i had this:
#nav_bar td
{
background-image:url(image1.gif);
}
#nav_bar td:hover
{
background-image:url(image2.gif);
}
<table cellspacing="0" cellpadding="0" id="nav_bar">
<tr>
<td><a href="yada yada">yada yada</a></td>
</tr>
</table>
and it worked perfectly, but then i added some elements at the sides of the navigation bar buttons which i don't want affected by the hover.