This script is the most common one, it doesn't require any special
mark-up for the fix:

http://www.twinhelix.com/css/iepngfix/

On Jan 8, 5:47 pm, _cam_ <[email protected]> wrote:
> Yes, I'm using the script 
> athttp://www.dillerdesign.com/experiment/DD_belatedPNG/.
>
> Rather than hard coding the class "pngFix" to the elements, I want to
> add them on the fly.
>
> Thank you.
>
> On Jan 7, 8:23 pm, Ricardo Tomasi <[email protected]> wrote:
>
> > This seems to work.
>
> > $('elements').filter(function(){
> >    return $(this).css('backgroundImage').indexOf('.png')+1;
>
> > });
>
> > Out of curiosity, are you trying to deal with png transparency in IE6?
>
> > On Jan 7, 4:29 pm, _cam_ <[email protected]> wrote:
>
> > > How would youselectelements that haveCSSbackground images ending
> > > with .png? And then add a class.

Reply via email to