<div style="margin:0 auto;width:200px;"> 
<input class="submit" /> 
</div> 

 

给div赋予input一样的宽度,然后给父div水平居中。

相关文章: