Css rollover, please help!

hi guys.

i have a menu with some cells, the cells have links. i want that when i rollover a cell the background change with diferent color than the others.

send me the css pls!!!

Menu:

<body>
<table width=“780” cellspacing=“0”>
<tr>
<td width=“74” height=“17” class=“btn_style”><a href=“#”>link1</a></td>
<td width=“90” class=“btn_style”><a href=“#” class=“style1”> link2 </a></td>
<td width=“146” class=“btn_style”><a href=“#” class=“style1”> link3 </a></td>
<td width=“81” class=“btn_style”><a href=“#” class=“style1”> link4 </a></td>
<td width=“116” class=“btn_style”><a href=“#” class=“style1”> link5 </a></td>
<td width=“122” class=“btn_style”><a href=“#” class=“style1”> link6 </a> </td>
<td width=“135” class=“btn_style”><a href=“#” class=“style1”> link7 </a></td>
</tr>
</table>
</body>

simply define the class’ hover

a.style1:link{color:#000000;text-decoration:underline;}
a.style1:visited{color:#000000;text-decoration:underline;}
a.style1:hover{color:#00A0C6;text-decoration:none;background:#e0e0e0;}

just change the parameters to adjust it to what you want

hope that helps, you can also use this same stuff, to change the background image if an image is something you want as a backgound.

here’s a great resource site
www.cssplay.co.uk

I think perhaps he means changing the background colour of the table cell?

maybe this GOOGLE search helps point you in the right direction

http://www.google.ca/search?q=background+table+cell+change+CSS&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official

[QUOTE=fasterthanlight™;1983760]I think perhaps he means changing the background colour of the table cell?

maybe this GOOGLE search helps point you in the right direction

http://www.google.ca/search?q=background+table+cell+change+CSS&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official[/QUOTE]

the property could be set to display:block, i would guess.

but i guess it would have to be this way, td.className a {properties}