There are at least 2 ways to do this, 1 by using CSS, as follows:
CSS
HTML Code:
button.yes { background:url(submit_normal.gif); }
button.yes:hover { background: url(submit_pressed.gif); }
button.no { background:url(cancel_normal.gif); }
button.no:hover { background: url(cancel_pressed.gif); }
and then using this HTML where you want the buttons to appear in your form.
HTML
HTML Code:
<button class="yes" type="submit"></button>
<button class="no" onclick="window.location.href='http://anypage.htm'"></button>
This gives you a "rollover" effect, If you don't want that then just delete the ':hover' lines.
Or directly in HTML by doing this
HTML Code:
<input type="image" src="submit.gif" border=0 value="Send This Form" alt="Submit Enquiry" width="101" height="23">
In either solution you substitute the name of your image files for the ones I'ves used as well as changing the various sizes
Bookmarks