Ver Mensaje Individual
  #3 (permalink)  
Antiguo 11/07/2009, 10:02
Avatar de gabrielflowers
gabrielflowers
 
Fecha de Ingreso: julio-2007
Ubicación: Santa Cruz de la Sierra
Mensajes: 187
Antigüedad: 16 años, 9 meses
Puntos: 3
Respuesta: Solución fácil al problema del png con alpha en ie6

metacortex: tu solucion no funciona, lo probe con imagenes png y nada:

Código HTML:
<html>
<head>
<title>Pagina nueva 1</title>
<style>

.png {
  behavior: expression((this.runtimeStyle.behavior="none")&&(this.pngSet?this.pngSet=true:(this.nodeName == "IMG" && this.src.toLowerCase().indexOf('.png')>-1?(this.runtimeStyle.backgroundImage = "none",
  this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",
  this.src = "transparent.gif"):(this.origBg = this.origBg? this.origBg :this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''),
  this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')",
  this.runtimeStyle.backgroundImage = "none")),this.pngSet=true)
  );
}

</style>
</head>
<body>

<img src="world3.png" width="50%" height="50%" class="png">
</body>

</html> 
__________________
"puedo detenerme, pero no retroceder, tengo que avanzar..."