IE6/IE7下文本框设置text-indent一起缩进的bug实例页面

回到相关文章 »

代码:

CSS代码:
.box{padding:40px 0; background-color:#B70D0D;}
.box input { width: 200px; text-indent: 20px; }
                
HTML代码:
<p class="box"><input value="我是文字" /></p>
                

效果: