easwee
easwee

Reputation: 15915

Desaturate image in Internet Explorer 6

I'm using the following code in my css to desaturate images in IE browsers:

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

It works ok in IE7-9, but I can't make it work in IE6. Any ideas on which filter expression to use for IE6?

Upvotes: 1

Views: 804

Answers (2)

thirtydot
thirtydot

Reputation: 228192

Similar to this: 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/.

Although, I am surprised that running IETester with administrative privileges didn't fix it.

Upvotes: 1

Interrobang
Interrobang

Reputation: 17434

One option might be grayscale.js:

http://james.padolsey.com/demos/grayscale/

Upvotes: 1

Related Questions