2011-05-03 61 views

回答

3

您需要将边框颜色设置为透明才能删除IE中的边框。就像这样:

input:focus{ 
    border: none; 
    border-color: transparent; 
} 

了解更多关于在这里:​​http://bitesizebugs.wordpress.com/2009/08/17/border-none-not-working-on-text-input-in-internet-explorer/

+0

这并没有为我工作,黑色边框仍然出现在焦点 – John 2011-05-03 00:26:53

+0

没关系,它的工作原理。谢谢 – John 2011-05-03 00:29:19

+0

大:)不用担心 – rzetterberg 2011-05-03 00:42:56

相关问题