经过测试的浏览器:IE6, IE7, IE8, IE9, Firefox, Chrome, Safiri, Maxthon
按钮的HTML代码:
<input id="btn_comment_submit" type="button" class="comment_btn" value="提交评论"/>
CSS代码:
input::-moz-focus-inner{ border: 0;padding: 0;}/*针对Firefox*/ .comment_btn{ height:26px; line-height:22px;/*针对IE*/ width:68px; }
本文介绍了一款兼容多种浏览器的评论提交按钮实现方案,包括HTML与CSS代码。该方案确保了在IE6至IE9、Firefox、Chrome等主流浏览器上的正常显示。
4万+

被折叠的 条评论
为什么被折叠?



