View Full Version : Using an image as a reset button


bellportal
04-28-2003, 07:46 PM
Hi there,

I want to know if there is any way in which I can use an image as a reset button on a form. This would really help as I don't want a nice 'Submit' graphic next to a boring grey button!

Thanks,
Bellportal

kittycat
04-28-2003, 09:11 PM
Just do it the same way that you made the submit button 'pretty', it'd be the same procedure, just with reset instead of submit.

bellportal
04-29-2003, 09:46 AM
Can you give me an example. I can't find a way to say whether the button is a submit or reset button.

Thanks,
Bellportal

kittycat
04-29-2003, 08:39 PM
Somewhere in the code should be input type="submit". Just change that to reset and it should work.

bellportal
04-30-2003, 09:50 AM
But the tag is <input type="image" src="source_images.jpg">
You can't change 'image' to 'reset' or I would end up with a normal grey button.