Re: submit/reset buttons

by Thomas James Allen <tjallen(at)pipeline.com>

 Date:  Wed, 13 Oct 1999 00:06:41 -0400
 To:  "Keif" <Keif(at)keifnet.com>
 Cc:  hwg-basics(at)hwg.org
  todo: View Thread, Original
At 07:39 AM 10/12/99 +0100, you wrote:
>    I want to change the default 'submit/reset' buttons for some of my own
>design. I think this is possible but cannot find any information on how to
>do it? Any help would be much appreciated.
>TIA
>Keif
>---------------------------------------
Keif,
The submit button as an image:
<input type="image" src="image_name.gif">
Whenever you use input type="image", 
the image automatically becomes a submit button.

The reset button is a little trickier.
First, give your form a name, 
<form name="fred">
then put your reset image like this:
<a href="#" onClick="reset(document.fred)">
<img src="image_name.gif" border="0"></a>

I think this works correctly, 
write back if it doesn't.
jimmy
---
Jimmy Allen (Thomas James Allen)
Business - Get Your Website Here
http://www.getyourwebsitehere.com
Personal - Eclecticity
http://www.getyourwebsitehere.com/personal

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA