Jump to content

PNG transparency in IE6


Acs

Recommended Posts

I was using this little trick to set png transparency

 

*background-image: none ! important;

*filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=.file.png,sizingMethod=crop);

 

This was all working great! But recently I download an update or path or whatever it was for ie6 and now this simply doesn't work! The png is not displayed at all. In ie7 version I have (I am running a stand alone version so it's not the most current one) it displays well with out this trick, but I really need this to work.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/98243-png-transparency-in-ie6/
Share on other sites

I use this method http://www.twinhelix.com/css/iepngfix/ - horses for courses IMO - I just don't like the filter method...

 

You could consider using a gif instead in ie6 and use a conditional comment to include a separate stylesheet for ie6 only....

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.