Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cell background change

Status
Not open for further replies.

Leroytrolley

Vendor
Sep 6, 2002
7
GB
Ok...I've given up doing the common text colour change, is it posible to change the background of a cell to a different colour on mouse over?

I've got a table made up of one row and five columns with five links in. I want to change the colour of the cel rolled over to a lighter colour. Is that possible?

You can see what I've started to design :
 
onMouseOver="this.style.background='white';"
onMouseOut="this.style.background='#CCCCCC';"

you can sub in whatever colors your heart so desires
btw you would put that in the cell tag like so

<td width=&quot;150&quot; height=&quot;25&quot; valign=&quot;middle&quot; class=&quot;menu&quot; onMouseOver=&quot;this.style.background='white';&quot;
onMouseOut=&quot;this.style.background='#CCCCCC';&quot;> [rockband]
whos that behind you?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top