Change Table Cell Colors

Here's a way to change the colors of table cells using simple Javascript mouseover.

Here's the code:

<td class="block" style="background-color:#ffffff;" onmouseover="this.style.backgroundColor='#FAFAFA';" onmouseout="this.style.backgroundColor='#FFFFFF';" valign="top" width="94"> Here's a table cell before the mouseover. This would make a cool menu!</td>


The resulting table would look as follows:

Here's a table cell before the mouseover. This would make a cool menu! Here's another table cell, see it change colors