Search code examples
htmlformsrollover

rollover image with buttons


Is there a way to make a form input of type image to have a rollover image?


Solution

  • Try this?

    <input type="image" value="someValue" src="yourImage.gif" width="widthInPixels" height="heightInPixels" onmouseover="this.src='yourImageRollover.gif';" onmouseout="this.src='yourImage.gif';">