Click to See Complete Forum and Search --> : Mouse over to make a cell's bg change color


nittynick
04-27-2003, 07:57 PM
How can I make a cell's bg color change with a mouse over? I'm using text as the hyperlink in each cell and was hoping to stay away from using images. Is there a way to do this? Maybe it dosn't even require using dhtml effects.

pyro
04-27-2003, 08:13 PM
Try something like this:

<table style="border: 1px solid;">
<tr>
<td onmouseover="this.style.backgroundColor='#eeeeee';" onmouseout="this.style.backgroundColor='transparent';">This is a test</td>
</tr>
</table>

nittynick
04-27-2003, 08:42 PM
Thanks I'll give this a try.