PNG background transparency IE


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. .element{
  2. /* Mozilla ignores crazy MS image filters, so it will skip the following */
  3. //filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='images/chapela.png');
  4. }
  5. /* IE ignores styles with [attributes], so it will skip the following. */
  6. .element[class]{
  7. background: url(images/chapela.png) no-repeat center center;
  8. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.