PDA

View Full Version : (SOLVED) Changing font color with an onmouseover.


Ranger56
06-29-2005, 02:40 AM
I have a footer that I want to change when you mouseover it.

The oridnary bg color is #fff
the ordinary font color is #069

onmouseover i want

the font color to be #069
the bg color to be #fff

Solution:<div id="footer" onmouseover = "this.style.backgroundColor='#006699';this.style.color='#ffffff';this.style.cursor='pointer'" onmouseout = "this.style.backgroundColor='#ffffff';this.style.color='#006699'">