Click to See Complete Forum and Search --> : Form button


peps666
02-09-2005, 01:31 AM
Hi,

I want to create a form but I would like the submit button to be an image instead of the usual button. Is there any way to do this???

Thanks!

Fang
02-09-2005, 06:45 AM
Take your pick:
<input type="image" src="myImage.gif" onclick="document.forms[0].submit();" title="Submit this form" alt="Submit">
<button type="submit" style="background:url(myImage.gif);height:25px;width:50px;" title="Submit this form" alt="Submit">submit</button>