【问题标题】:IE (10) how to remove dotted outline of input elementIE(10)如何去除输入元素的虚线轮廓
【发布时间】:2013-05-06 05:01:44
【问题描述】:

IE(10)是否可以去掉输入元素的虚线轮廓?

【问题讨论】:

  • outline: none; 不起作用?
  • 是的,谢谢,需要用 !important 或 inline 覆盖引导程序的设置。
  • +1 !important 我也错过了这个

标签: css internet-explorer internet-explorer-10


【解决方案1】:

默认情况下,IE 不会为input 元素绘制轮廓。因此,您需要找出样式表中的原因并删除或覆盖相关设置。对于覆盖,您可以使用

input { outline-style: none }

但根据导致问题的样式表,您可能需要使选择器更具体和/或添加!important

【讨论】:

    猜你喜欢
    • 2013-09-18
    • 1970-01-01
    • 2020-04-05
    • 1970-01-01
    • 1970-01-01
    • 2019-07-06
    • 2011-05-16
    • 2019-12-24
    • 2017-06-27
    相关资源
    最近更新 更多