Learn HTML Code Tutorial Reference Guide

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:



 

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   Privacy Policy   |   About
Copyright ©1997-2002 Idocs and ©2002-2014 HTML Code Tutorial