Using an image as a reset button
by "Mike Kear" <choicemag(at)hotmail.com>
|
Date: |
Tue, 22 Feb 2000 13:04:42 EST |
To: |
hwg-techniques(at)hwg.org |
|
todo: View
Thread,
Original
|
|
Ok, I admit it ... it's hard for me to do but I admit it. I'm stumped.
Just don't tell my wife or I'll never hear the end of it!
I'm trying to replace the boring "submit" and "reset" buttons on a form with
.GIF images. I've done the submit ok, but the reset one won't do anything
other than act as a submit button.
It **IS** possible to have an image as a reset button isn't it?
Here's the code I'm using:
Plain ordinary button:
<input name="Reset" value="Reset my choices" type="reset">
Image reset button:
<input name="Reset" type="image" border="0" src="images/reset.gif"
width="176" height="26" alt="Reset">
What have I done wrong?
Cheers,
Mike Kear
AFP Web Development
Windsor, NSW, Australia
http://www.afp.zip.com.au
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA