Scripsit John:
<div class='button'><input type='image'
src='/images/check1.jpg'></input></div>
That's pointless and inaccessible. Turn image display off in your browser
(if you don't know how to do that, it's time to learn) and test the page to
see this.
Is there something I'm missing? Image should change on mouseover.
Yes. You're missing
<input type="submit" value="..." class="submit">
which is a great improvement over all expensive plastic imitations. The
class attribute is here just to help in styling, due to lack of support to
attribute selectors in IE 6 and older.
(And you're missing the information that jpeg format should normally be used
for photos only, and photos aren't usually suitable for use as button images
or as backgrounds.)
To style it so that it changes on mouseover, you would write
..submit:hover { ... }
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/