Form Button thing

liunx

Guest
Hey i currently have an asp login system whatever, but what i want is instead of a normal "submit" button i would like an image. but for it to do the same thing...got any suggestions?<br />
Heres what i got so far<br />
<br />
<form method="POST" action="password.asp"><input type="image" src=http://www.webdeveloper.com/forum/archive/index.php/"images/butt_login.gif"></form><br />
<br />
that dosnt seem to work though... heres the original that came with the scripts for the login system:<br />
<br />
<input type="submit" value="Submit" name="B1"><br />
<br />
Heres what i got off another site that says this is the code for the image or whatever....<br />
<br />
<form method="link" action="your url here"><input type="image" src=http://www.webdeveloper.com/forum/archive/index.php/"your file name.gif" width="26" height="26"</form><br />
<br />
problem is that i dont want a "link" i want it to submit... if you could help me out that would be great. Thanks<!--content-->I've seen something like that over at the HTML Goodies site and pretty much everything there is wrong. <br />
<br />
There are two ways to use an image as a submit button.<br />
<br />
<input alt="Submit" src=http://www.webdeveloper.com/forum/archive/index.php/"someImage.png" type="image"><br />
<br />
and<br />
<br />
<button type="submit"><img alt="Submit" src=http://www.webdeveloper.com/forum/archive/index.php/"someImage.png"></button><br />
<br />
The rest of the FORM would remain the same. See <!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/interact/forms.html">http://www.w3.org/TR/html4/interact/forms.html</a><!-- m -->.
 
Back
Top