法一:用CSS来控制,加入style属性
<input style=" width:50px; height:22px; border:#F00 1px solid; background:#69F; color:#FFF" type="submit" name="button" id="button" value="提交" />
法二:
<body>
<form id="form1" name="form1" method="post" action="2.html">
<label>
<input type="text" name="name" id="name" />
</label>
<a href="javascript:document.form1.submit()"><img src="C:\Documents and Settings\hp\My Documents\My Pictures\1.jpg"></a>
</form>
</body>