add this to your style.css file attached to your website.
Code:
#pngIE {
fillter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=image.png);
background-repeat:no-repeat;
}
#pngFF{
background-image:url(image.png);
background-repeat:no-repeat;
}
put this code where you want to have that image.
Quote:
<?php
$browser = $_SERVER['HTTP_USER_AGENT'];
$version = explode(" ",$browser);
if($version[2] == "MSIE"){
echo 'pngIE';
}
else{
echo 'pngFF';
}
?>
|
now edit the parts i've marked red.
and remove the parts i've marked yellow. (damn BBC

)
this way you can make .png images transparent in IE.
(fun to fix bugs of those HUGE purely commercial companies

)