Forums

This topic is locked

can this be done in CSS?

Posted 21 Feb 2003 16:33:46
1
has voted
21 Feb 2003 16:33:46 Katherine Wakefield posted:
I have grabbed some script that allows me to mouseover a cell and change the color of the background:
onMouseover="this.bgColor='#ffffff'"
onMouseout="this.bgColor='#000000'"

How do I change the text color at the same time. The Mouseover event is tagged to the cell, yet the reference to the text is outside that - how do I get them both to change. Is there a work around? Thanks

Replies

Replied 22 Feb 2003 01:24:10
22 Feb 2003 01:24:10 Dean Blackborough replied:
I suppose a nasty way would be to make the text actual links <a href="#"> and then add the CSS for A:Hover to the page.

If the CSS was inline it shouldn't affect the rest of the links on the page.

--------------------------------------
www.galleryof3d.com

Attempting to convert this to a database driven site - currently all individual pages. lol

Reply to this topic