[thelist] MouseOver Table Cells

Don Makoviney DonM at allensysgroup.com
Fri May 25 09:39:18 CDT 2001


I am mousing over table cells and changing the colors like this in ASP:

Response.Write ("<tr><td style='border-bottom:1px groove gray;cursor:hand'
onMouseOver=""this.style.backgroundColor='#ffffdd'""
onMouseOut=""this.style.backgroundColor=''""><b>" & objItem &
"</b></td><td>" & Request.QueryString(objItem) & "</td></tr>")


However, instead of hardcoding these colors in like I have above, I would
like to specify these colors in a CSS file, but I am having a hard time
finding the equivalent way to do it there.

Any suggestions?

Thanks,

Don M




More information about the thelist mailing list