PDA

View Full Version : Q.Table cells, change bgcolor with mouseover?



A_very_wild_wild_camper
12-15-2004, 09:09 PM
Hi,

I have created a menu in a table, using each cell for a different link.

How can I get the background colour of the cell to change when the mouse passes over the cell?

PS. I have considered using two interchangeable images in the cell, the using some sort of mouseover script to change the images. but I really want to avoid the use of images.

TIA

A_very_wild_wild_camper
12-15-2004, 09:49 PM
Its now sorted :)

==========================================

<table bgcolor="#FF0000" width="342">
<tr>
<td onMouseOver="this.style.backgroundColor='#00FFFF'" onMouseOut
="this.style.backgroundColor='#ff0000'">

<p align="center"><a href="menu_maker_navbars.htm">this cell highlights</a></p>


</td>
</tr>
</table>