I really hate that ugly grey button on my forms. Is there a way
to use a graphic image instead?
Of course you can. Simply replace the TYPE="SUBMIT" with a
TYPE="IMAGE" and give the SRC="filename.gif". A much prettier
form! If you click on the button, you will see a display of my
system's CGI-BIN environment variables. Just hit the back button
to return here.
example
source code
<FORM METHOD="POST" ACTION="/cgi-bin/diag.cgi">
<PRE>
First Name <INPUT TYPE="text" NAME="first_name"
MAXLENGTH=25 SIZE=15>
Last Name <INPUT TYPE="text" NAME="last_name"
MAXLENGTH=35 SIZE=20>
E-Mail <INPUT TYPE="text" NAME="last_name"
MAXLENGTH=35 SIZE=20>
<INPUT TYPE="image" SRC="/dimages/submit.gif"
WIDTH="120" HEIGHT="30"
BORDER="0" ALT="SUBMIT!">
</PRE>
</FORM>