css - 在 Internet Explorer 6 中降低图像饱和度

标签 css filter internet-explorer-6

我在我的 css 中使用以下代码来降低 IE 浏览器中的图像的饱和度:

-ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(grayScale=1)';
filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);

它在 IE7-9 中工作正常,但我无法在 IE6 中工作。关于为 IE6 使用哪个过滤器表达式有什么想法吗?

最佳答案

与此类似:alpha opacity and behavior: url(iepngfix.htc); not working in IE6

Don't test this with IETester. It's not completely reliable.

You should use a virtual machine, but you can quickly test a page with http://ipinfo.info/netrenderer/.

不过,我很惊讶以管理权限运行 IETester 并没有解决它。

关于css - 在 Internet Explorer 6 中降低图像饱和度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8428697/

相关文章:

javascript - jQuery .attr 在 IE6 和 IE7 中不起作用

javascript - IE 6 在菜单上选择控件(组合框)

html - 如何用 float 在左上角放置一个标志?

amazon-web-services - aws cli 日志过滤模式排除

java - 过滤器映射中的 <url-pattern> 无效

javascript - 在多个字段上具有多个值的搜索过滤器

javascript - $(document).ready 处理程序 (IE) 太多了吗?

jquery - Superfish 子菜单不显示

php - ob_start 缓存 CSS

javascript - Jquery - 如何从 div 标签复制选定的文本?