textarea 中的占位符不单独应用于 IE?
Place holder in text area not applied in IE alone?
我正在使用以下代码,
<textbox value="abc" placeholder="Eg:sample" rows="7"/>
CSS:
input:-ms-input-placeholder {
color: blue;
}
在浏览器中呈现时,文本框呈现为 "textarea",在 Chrome 中,Firefox 占位符颜色设置正常。仅在 IE(version9) 中,它呈现字体颜色而不是占位符颜色。
请任何人帮忙。
记住:Internet Explorer 9 很古老。 Internet Explorer 9 有问题。 Internet Explorer 9 的市场份额很低。
The documentation 表示在 Internet Explorer 10 中添加了对 :-ms-input-placeholder
的支持。
我正在使用以下代码,
<textbox value="abc" placeholder="Eg:sample" rows="7"/>
CSS:
input:-ms-input-placeholder {
color: blue;
}
在浏览器中呈现时,文本框呈现为 "textarea",在 Chrome 中,Firefox 占位符颜色设置正常。仅在 IE(version9) 中,它呈现字体颜色而不是占位符颜色。
请任何人帮忙。
记住:Internet Explorer 9 很古老。 Internet Explorer 9 有问题。 Internet Explorer 9 的市场份额很低。
The documentation 表示在 Internet Explorer 10 中添加了对 :-ms-input-placeholder
的支持。