对应HTML:<input type="submit" class="sub" />
适用场景:form表单中的提交按钮在很多CMS中都是用submit完成的,切图时需要用设计师做好的图片为背景,可是ie6下总出问题,于是查阅资料经过总结后有了下边的css
.sub{ border:none; display:inline-block; font-size:0; line-height:0; *font-size:0; *line-height:normal; *padding-left:999px; *overflow:hidden; cursor:pointer; }
使用方法:再加上background和width、height即可完美展示提交按钮