I (wish I could) see right through you...
March 20, 2006 12:50 PM Subscribe
BeatIEIntoSubmissionFilter: Is it possible to force IE/Win to display CSS background images with PNG transparency?
IE doesn't support transparency in PNGs natively, so no, you can't force IE to render them. It's hack time.
posted by doctor_negative at 1:12 PM on March 20, 2006
posted by doctor_negative at 1:12 PM on March 20, 2006
Best answer: bgsleight adds PNG alpha transparency support for background images. Read the comments.
posted by kirkaracha at 1:13 PM on March 20, 2006
posted by kirkaracha at 1:13 PM on March 20, 2006
/IE7/ is a JavaScript library that not only fixes the PNG transparency issues, but fixes many other IE CSS issues.
posted by Sharcho at 3:17 PM on March 20, 2006
posted by Sharcho at 3:17 PM on March 20, 2006
If you use IE7 to solve this, note there are problems.
posted by nakedcodemonkey at 4:07 PM on March 20, 2006
posted by nakedcodemonkey at 4:07 PM on March 20, 2006
This thread is closed to new comments.
In its most basic form, you do something like this:
div#whatever{
background: url(someimg.png) no-repeat;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='someimg.png',sizingMethod='scale');
height: 100px;
width: 100px;
}
posted by the jam at 12:56 PM on March 20, 2006