Monday, 10 November 2008

Where is my Opacity IE-8?

Was not expecting to hit this issue with IE-8 - Couldn't work out how to make sure my div is transparent. 
Here is the CSS I found from the IE Team blog:

    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);


kree8or said...

great, cheers

Anonymous said...

Absolute genius by Microsoft as usual....break existing, working websites on release of their new browser!

Why they didn't keep the shorthand version like everyone else is beyond me!

It's bad enough that we have to have a non-standard filter to cope with IE6 & IE7, but now we'll have to edit the CSS of every website in order to fix something that they broke!

I reckon I'll save the time and effort and simply lob a "best viewed in a standards-compliant browser like Firefox, Safari, Google Chrome or Opera" logo on every site instead!