【问题标题】:How to change the color of disabled input textbox text color in ie9 using css or jquery?如何使用css或jquery更改ie9中禁用输入文本框文本颜色的颜色?
【发布时间】:2014-02-24 07:40:10
【问题描述】:

我已经检查了以下内容 How to change color of disabled html controls in IE8 using css Change the font color of disabled input text box?

有没有办法改变ie9的字体颜色?

【问题讨论】:

    标签: jquery css


    【解决方案1】:

    禁用属性 Css 不适用于 IE 旧版本。但现在 IE 11 支持它。

    这里是演示链接。 http://jsfiddle.net/kheema/NpHn6/4/

    我使用了这条 CSS 行。

    input[type="text"]:disabled{color:red;}
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-04-24
      • 2011-12-25
      • 2016-11-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-02-09
      相关资源
      最近更新 更多