IE8:禁用cleartype? [英] IE8: Disable cleartype?
问题描述
对于IE7,可以添加
filter:none;
到主体css通过CSS禁用字体的字体类型。我不喜欢它给出的模糊的外观,它不是真正一致的跨浏览器。 IE; Firefox和IE6显示不同。
IE8似乎忽略css选项,即使强制浏览器进入IE7兼容模式使用:
< meta http-equiv =X-UA-Compatiblecontent =IE = 7/>
TL; DR:如何禁用清除类型字体IE8到CSS?
>
从我记得,当在一个元素上设置过滤器时,Internet Explorer 7+禁用ClearType
#target {
-ms-filter:progid:DXImageTransform.Microsoft.Alpha(opacity = 99);
filter:progid:DXImageTransform.Microsoft.Alpha(opacity = 99);
}
此外,请注意,许多用户可能会发现禁用ClearType烦人。谨慎使用!
For IE7, it's possible to add
filter: none;
to the body css to disable cleartype on fonts through CSS. I don't like the fuzzy look it gives, and it isn't really consistent across browsers. IE; Firefox and IE6 show it differently.
IE8 however, seems to ignore the css option, even when forcing the browser into IE7 compatibility mode using:
<meta http-equiv="X-UA-Compatible" content="IE=7" />
TL;DR: How do I disable clear-type fonts in IE8 through CSS?
From what I recall, Internet Explorer 7+ disables ClearType when a filter is set on an element
#target {
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)";
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=99);
}
Also, do consider that many users may find disabling ClearType to be annoying. Use sparingly!
这篇关于IE8:禁用cleartype?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!