For IE6 transparency, I follow personal threads:
1. If there is only one or two PNG images (for example, a logo or a normal image), I just use filter :
#selector {background:none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='test.png', sizingMethod='crop');}
Problems: if applied to a link, it will no longer be clickable. Perhaps apply h1#logo and transparency a .
2. If I have many 24-bit PNG files or special use cases (background repetition, etc.), I use DD_belatedPNG
IMPORTANT FOR IE7 + IE8: You cannot animate or combine filter:alpha (which is used for general opacity for an element in IE, and jQuery is also used to set opacity ). property with 24-bit transparent PNG images. It changes it to 8-bit transparency, with everything that is 100% opaque or transparent, on a black background.
source share