Fetching contributors…
Cannot retrieve contributors at this time
50 lines (39 sloc) 1.07 KB
<!DOCTYPE html>
<title>-pie-png-fix test</title>
body {
background: url(background2.gif);
p {
background: #FFF;
#test1 {
position: relative;
background: url(icon-ie.png);
padding: 2em;
-pie-png-fix: true;
behavior: url(../build/;
margin-bottom: 5em;
#test2 img {
position: relative;
-pie-png-fix: true;
behavior: url(../build/;
<div id="test1" class="test">
<p>In IE6, this box's background image should be transparent through to the body, not gray.</p>
<div id="test2">
<p>These &lt;img&gt; elements should also be transparent in IE6.</p>
<img src="icon-ie.png" />
<img src="icon-ie.png" width="128" height="128" />
<img src="icon-ie.png" width="640" height="128" />
<img src="icon-ie.png" width="64" height="256" />