It’s pretty easy, you just have to use type="image" in your <input /> tag:
<input type="image" src="http://i.bnet.com/images/200806/btn-submit-CAST-182x24.gif" />

It’s pretty easy, you just have to use type="image" in your <input /> tag:
<input type="image" src="http://i.bnet.com/images/200806/btn-submit-CAST-182x24.gif" />

2 Comments
Hi Guys - great stuff. I would normally use a class and a background image so that I could also have a rollover state though. Have you guys had any thoughts on using overflow:auto to clear floating elements? Seems to work fine with lists for me but in IE6 (of course) it creates scrollbars….
IS there any way to use this technique but to make it so the image chances once you click it? Sort of to give it the button effect?