Here is my form with a custom button:
<form action="login_form.php" method="POST" id="login_form">
Email <input name="email" type="text" size="25" placeholder="type your email"/>
Password <input name="password" type="text" size="25" placeholder="type your password" />
<input type="submit" value="" name="submit" style="background:url('img/button-go.png') no-repeat; width:68px; height:27px; border:none; cursor:pointer; "/>
</form>
I have two image buttons, one named button-go.png
and the other button-go_light.png
. I would like to have the button-go.png
change to button-go_light.png
when the user hovers over it. What is the simplest way to achieve this effect that works in all browsers?