El explorer siempre haciendo la vida dificil...., pero no descartes el archivo PNG mira ya encontré la solución :D :
1º - Copia el siguiente codigo en un editor de texto, por ejemplo yo lo hice en el blog de notas:
Código:
function PNG_loader() {
for(var i=0; i<document.images.length; i++) {
var img = document.images[i];
var imgName = img.src.toUpperCase();
if (imgName.substring(imgName.length-3, imgName.length) == "PNG") {
var imgID = (img.id) ? "id='" + img.id + "' " : "";
var imgClass = (img.className) ? "class='" + img.className + "' " : "";
var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' ";
var imgStyle = "display:inline-block;" + img.style.cssText;
if (img.align == "left") imgStyle += "float:left;";
if (img.align == "right") imgStyle += "float:right;";
if (img.parentElement.href) imgStyle += "cursor:hand;";
var strNewHTML = "<span " + imgID + imgClass + imgTitle
+ " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
+ "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
+ "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>";
img.outerHTML = strNewHTML;
i--;
}
}
}
window.attachEvent("onload", PNG_loader);
2º - Guardalo con el nombre png.js , en la carpeta principal de tu sitio o sea donde tienes el index
3º - Copia el siquiente código donde quieras insertar la imagen PNG:
Código:
<!--[if gte IE 5.5000]>
<script type="text/javascript" src="./png.js"></script>
<![endif]-->
....y ahora a continuación del codigo insertas la imagen. Si lo haces correctamente la imagen PNG con fondo transparente se verá sin ese molesto fondo gris.
Existen varios scripts para solucionar el problema, pero este me pareció el mas sencillo y claro.
Marcadores