Hi Kevin,
This theory tends to work well for IE and non IE browsers. Below is the css based on the background image of a DIV tag with ID png_background.
<style type="text/css">
body {
height:100%;
}
div#png_background {
width:344px; // specify width
height:215px; // specify height
background-image: url(ew.png);
}
</style>
<!--[if IE]>
<style>
div#png_background {
background-image: none;
filter:
progid:DXImageTransform.Microsoft.AlphaImageLoader(src="">}
</style>
<![endif]-->
Cheers
- Re: [WSG] png transparency hack not working Stephen Neate
