Find this page online at:

Using An Image Submit Button

Posted Friday, February 6, 2004

In this example, the table background is set to the same color as the image background to blend together seamlessly. A table was used to align the text input box and the image submit button.

<FORM METHOD=post ACTION="/cgi-bin/example.cgi">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2"><TR><TD BGCOLOR="#8463FF"><INPUT type="text" size="10" MAXLENGTH="30"></TD><TD BGCOLOR="#8463FF" VALIGN="Middle"> <INPUT type=image name="search" src="graphics/searchgo.gif" border="0"></TD></TR> </TABLE>