我用我的CSS下面的代码去色图像在IE浏览器:去色图像6
-ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(grayScale=1)';
filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
它工作在IE7-9确定,但我不能让它工作在IE6。任何有关过滤器表达式用于IE6的想法?
我用我的CSS下面的代码去色图像在IE浏览器:去色图像6
-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
不要IETester进行测试。这并不完全可靠。
您应该使用virtual machine, 但您可以使用http://ipinfo.info/netrenderer/快速测试页面。
虽然,我很惊讶以管理权限运行IETester没有解决它。
虚拟机显示它正常。 – easwee
一种选择可能是grayscale.js:
该库使用与我在问题中发布的语法相同的语法来解析IE6灰度图像。问题仍然会发生 - 问题在于我在IEtester中进行了测试,该测试并未正确呈现过滤器。 – easwee
您是在虚拟机中使用IE6,还是使用其他古怪的方式? – thirtydot
@thirtydot - 我在IEtester中测试 - 你怀疑它不起作用吗?将现在测试虚拟... – easwee
http://stackoverflow.com/questions/7079505/alpha-opacity-and-behavior-urliepngfix-htc-not-working-in-ie6/7079827#7079827 – thirtydot