We Recommend

CSS: The Definitive Guide CSS: The Definitive Guide
Provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, text wrapping (nowrap), lists and generated content, table layout, user interface, paged media, and more.


Posted By

donnies38 on 07/24/07


Tagged

png bg


Versions (?)


Who likes this?

6 people have marked this snippet as a favorite

luman
basicmagic
markupmark
vali29
verbal
silvan


PNG bg transparency in IE


Published in: CSS 


  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
Posted By: luman on July 25, 2007

Please, you don't repeat snippets

http://snipplr.com/view/137/png-background-transparency-ie/

You need to login to post a comment.