i can't get this to work, and i cant see why... please help.
"this.style.color='red'" works, but i can't get the background-color property to work for some reason.
Dan Trenz
Ann Arbor, MI
Code:
<head>
<style>
.mybutton {background-color: white}
</style>
</head>
<body>
<INPUT type=button class=mybutton value="Click Me" OnMouseOver="this.style.background-color='red'" onMouseOut="this.style.background-color='white'">
"this.style.color='red'" works, but i can't get the background-color property to work for some reason.
Dan Trenz
Ann Arbor, MI