Posted By

alexvf on 08/18/08


Tagged

css ie png transparency


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

dirkV
jamesming
presentday
robe
1man
a1ias


PNG Background Transparency IE


 / Published in: CSS
 

  1. /* For IE. Mozilla ignores. */
  2. .element{
  3. //filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='images/image.png');
  4. }
  5.  
  6. /* For others. IE ignores styles with [attributes]. */
  7. .element[class]{
  8. background: url('images/image.png') no-repeat center center;
  9. }

Report this snippet  

You need to login to post a comment.