Thanks for the suggestion ,but it doesn't seem to be working.

BTW, as an aside, is there a preferred method of responding on this list: top- 
or bottom-posting? Makes no matter to me, but some places are pretty adamant 
about one or the other, and as they say, when in Rome...


 -------------- Original message ----------------------
From: J�rn Zaefferer <[EMAIL PROTECTED]>
> [EMAIL PROTECTED] schrieb:
> > Andy,
> >
> > I looked pretty extensively some weeks ago for exactly the same thing, and 
> came up empty. There are several solutions available for IMG tags, as you 
> state, 
> but all of them seem to use imposition of a background on the image by 
> inserting 
> a SPAN tag. Hence, the solutions do not work for background images themselves.
> >
> > I unfortunately had to ultimately throw in the towel and use GIFs.
> >   
> Then you, too, may be interested in Steven's stuff, take a look at this 
> goodie:
> 
>   // Fix background PNGs in IE6
>   if (navigator.appVersion.match(/MSIE [0-6]\./)) {
>     $('*', e).each(function () {
>       if (this.currentStyle.backgroundImage != 'none') {
>         var image = this.currentStyle.backgroundImage;
>         image = this.currentStyle.backgroundImage.substring(5, image.length - 
> 2);
>         $(this).css({
>           'backgroundImage': 'none',
>           'filter': 
> "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, 
> sizingMethod=crop, src='" + image + "')"
>         });
>       }
>     });
>   }
> 
> Whatever the "e" context may be, but the solution is quite obvious.
> 
> -- 
> J�rn Zaefferer
> 
> http://bassistance.de
> 
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to