How to make a PNG picture transparent under IE6

Source: Internet
Author: User

People often ask me how to make a PNG image transparent under IE6 , and in fact IE6 browsers can't display transparent PNG images, which is also a headache for many web designers, and some good effects pages have to be made JPG because they cannot transparently display PNG pictures.

There are also a number of ways to try to solve this problem, but now just use a JS file called "unit PNG Fix" to be completely done.

The JS download address: http://labs.unitinteractive.com/unitpngfix.php


Unit PNG Fix is really outstanding.

1. Very small JavaScript file: 1kb!
2. Solve the effect of the filter properties of IE.
3. Whether it is an IMG element or a background-image attribute, it can be effective.
4. Can run automatically before loading the page. Or just a bit of the element.
5. Allow automatic height width.
6. It's super simple to use.




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.