views:

41

answers:

2

This code works with IE 7 and above, but not with IE6:

img.myclass{
    opacity: 0.5;
    filter: alpha(opacity=50);
}

What should I add to my code?

Thanks

+2  A: 

IE6 has problems with opacity for png images but look at this and see if it helps:

http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html

David Mårtensson
+1  A: 

What about this? http://jquery.andreaseberhard.de/pngFix/

Industrial