Form buttons don't have to be dull and grey! You can use images to submit a form too. Here's an example:
<INPUT TYPE="image" SRC="images/submit.gif" HEIGHT="30" WIDTH="173" BORDER="0" ALT="Submit Form">
Where the standard submit button has TYPE="submit", we now have TYPE="image". The image type is by default a form submitting button. Oh, by the way, you can see another example of this on CodeToad itself. Take a look at the Go button in our search box!
<INPUT TYPE="image" SRC="images/submit.gif" HEIGHT="30" WIDTH="173" BORDER="0" ALT="Submit Form">
Where the standard submit button has TYPE="submit", we now have TYPE="image". The image type is by default a form submitting button. Oh, by the way, you can see another example of this on CodeToad itself. Take a look at the Go button in our search box!
No comments:
Post a Comment