Posted By

mifly on 03/03/08


Tagged

css


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

Wiederkehr
pmd
bcalloway


Transparent PNG's in IE6


 / Published in: CSS
 

  1. /**
  2. Transparent PNG’s in IE6
  3.  
  4. An IE6 bug which causes a great deal of hassle is that it doesn’t support transparent PNG images.
  5.  
  6. You will need to use a filter which overrides the CSS.
  7. */
  8. * html #image-style {
  9. background-image: none;
  10. filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="filename.png", sizingMethod="scale");
  11. }

Report this snippet  

You need to login to post a comment.