Hi,
I have a table cell that does the following:
Basically, it changes the background colour upon mousover (apologies for being patronising).
What I would like it to do is
And in that CSS style, I could have the specified mouseover and mouseout events. Problem is, I dont know how to do this, I can specify the background colours, borders etc. But I cant get it to specify what color to change to when the mouse moves over the table cell (not a link, but the actual table cell).
I apologise in advance if this is a stupid question
I have a table cell that does the following:
Code:
<td onMouseover="this.style.backgroundColor='#CCCCCC';" onMouseout="this.style.backgroundColor='#f7f8fc';">
Basically, it changes the background colour upon mousover (apologies for being patronising).
What I would like it to do is
Code:
<td class="mouseovercell">
And in that CSS style, I could have the specified mouseover and mouseout events. Problem is, I dont know how to do this, I can specify the background colours, borders etc. But I cant get it to specify what color to change to when the mouse moves over the table cell (not a link, but the actual table cell).
I apologise in advance if this is a stupid question