Idocs Guide to HTML

Attribute for <INPUT ...>
BORDER = integer

BORDER is used for image submit buttons. BORDER indicates if there should be a visible border around the image. BORDER only has an effect in Netscape. MSIE does not put any visible border around image submits.

By default, Netscape puts a border around image submit buttons. By setting BORDER to zero you remove that border:

<FORM ACTION="../cgi-bin/mycgi.pl" METHOD=POST>
name: <INPUT NAME="realname">
<INPUT TYPE=IMAGE SRC="go2.gif"
   BORDER=0 HEIGHT=22 WIDTH=50 ALT="go!">
</FORM>

which gives us

name:
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.