Change font color on mouseover
Posted on 2014-04-17
I've a table that changes the background color when mouseover, and goes back to the original color when mouseout:
<td width="20%" style="cursor:pointer;cursor:hand" onMouseover="this.bgColor='#2E3740'" onMouseout="this.bgColor='#ffffff'"><div align="center">CHANNELS</div></td>
What I need to do is also to change the Font color at mouseover (to FFFFFF) and back to #2E3740' when mouseout.
Need some help :)