joer...
mira que nada...
tengo:
en el html
///////////////
<!--[if lt IE 7]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->
</head>
luego tengo
<div class="cabecera"><span> </span></div>
/////////////
en la css:
///////////
.cabecera span{
background:url(img/elemento_cabecera_quienes.png) no-repeat;
position: relative;
left: 520px;
top: 67px;
border:#FF0000 solid thin;
padding: 10em 10em 10em 10em;
}
//////////
y por ultimo el js que venia en la web:
http://homepage.ntlworld.com/bobosola/index.htm
//////////
/*
Correctly handle PNG transparency in Win IE 5.5 & 6.
http://homepage.ntlworld.com/bobosola. Updated 18-Jan-2006.
Use in <HEAD> with DEFER keyword wrapped in conditional comments:
<!--[if lt IE 7]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->
*/
var arVersion = navigator.appVersion.split("MSIE")
var version = parseFloat(arVersion[1])
if ((version >= 5.5) && (document.body.filters))
{
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;" + imgStyle
if (img.align == "right") imgStyle = "float:right;" + imgStyle
if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
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 = i-1
}
}
}
/////////
Gracias por la ayuda
:)
El día 8/05/07, Marc Palau <[EMAIL PROTECTED]> escribió:
>
> añado el mio jijiji:
>
> http://www.nbsp.es/2007/04/16/png-transparentes-en-internet-explorer-55/
>
> saludos!!
> Marc
>
> ----- Original Message -----
> From: "Félix Zapata Berlinches" <[EMAIL PROTECTED]>
> To: "Ovillo, la lista de CSS en castellano" <[email protected]>
> Sent: Tuesday, May 08, 2007 6:35 PM
> Subject: Re: [Ovillo] png transparente IE6
>
>
> Oscar martinez novoa escribió:
> > Hola peña,
> > he mirado por foros y por el google y he encontrado esto:
> >
> --------------------------------------------------------------------------
> -----------------------
> > background:url(img/elemento_cabecera_quienes.png) no-repeat !important;
> > background: none; /* Eliminamos el fondo cargado por el CSS general
> */
> > filter:
> progid:DXImageTransform.Microsoft.AlphaImageLoader
> (src="img/elemento_cabecer
> a_quienes.png",sizingMethod="image");/*Añadimos
> > la
> > imagen de fondo por medio de un filtro*/
> > background-repeat:no-repeat;
> >
> > position: relative;
> > left: 520px;
> > top: 67px;
> >
> > border:#FF0000 solid thin;
> > padding: 10em 10em 10em 10em;
> >
> >
> --------------------------------------------------------------------------
> -----------------------
> >
> > Y nada, sigue sin funcionar...
> > alguien sabe de esto?
> >
> > graciasss
> > _______________________________________________
> > Lista de distribución Ovillo
> > Para escribir a la lista, envia un correo a [email protected]
> > Puedes modificar tus datos o desuscribirte en la siguiente dirección:
> http://lists.ovillo.org/mailman/listinfo/ovillo
> >
> >
> Mira a ver si te vale alguno de estos enlaces:
>
> http://homepage.ntlworld.com/bobosola/index.htm
> http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html
>
> http://www.cristalab.com/tips/21618/png-con-transparencia-alpha-en-internet-explorer
>
> --
>
> *Félix Zapata Berlinches*
>
> Responsable Técnico
>
> Logotipo de Brainet
>
> c/ Santa María de la Cabeza nº 9,
> 47012 Valladolid.
> Teléfono: 983 10 09 07
> http://www.brainet.es
>
> "Este correo electrónico y, en su caso, cualquier fichero anexo al
> mismo, pueden contener información de carácter confidencial
> exclusivamente dirigida a la persona o entidad a la que se le envía.
> Queda prohibido cualquier uso indebido, revisión, retransmisión o
> diseminación del contenido por personas o entidades ajenas al
> destinatario. Si recibe usted este correo por error, le rogamos que nos
> lo comunique por la misma vía al remitente y proceda a borrar este
> material de todo ordenador. Gracias."
>
> ------------------------------------------------------------------------
>
> "The information in this e-mail and in any attachments is confidential
> and solely for the attention and use of the named addressee(s). You are
> hereby notified that any distribution, copy or dissemination of this
> communication is prohibited without the prior written consent of the
> sender. If you received this in error and are not the formal receiver of
> this message please destroy it without making any digital or physical
> copy and inform the sender by e-mail of the reception of the present
> message. Thank you"
>
> _______________________________________________
> Lista de distribución Ovillo
> Para escribir a la lista, envia un correo a [email protected]
> Puedes modificar tus datos o desuscribirte en la siguiente dirección:
> http://lists.ovillo.org/mailman/listinfo/ovillo
>
> _______________________________________________
> Lista de distribución Ovillo
> Para escribir a la lista, envia un correo a [email protected]
> Puedes modificar tus datos o desuscribirte en la siguiente dirección:
> http://lists.ovillo.org/mailman/listinfo/ovillo
>
_______________________________________________
Lista de distribución Ovillo
Para escribir a la lista, envia un correo a [email protected]
Puedes modificar tus datos o desuscribirte en la siguiente dirección:
http://lists.ovillo.org/mailman/listinfo/ovillo