The simplest way is to allow ie6.0 to support PNG

Source: Internet
Author: User

 

1). Download The unitpngfix. js file or you can go to the official website (http://labs.unitinteractive.com/unitpngfix.php) to download the latest Add the following code to your page header. (make sure the path is correct)
<! -- [If lt IE 7]>
<SCRIPT type = "text/JavaScript" src = "unitpngfix. js"> </SCRIPT>
<! [Endif] -->

2. Upload clear.gif to your images folder. In the JS file, modify "Var clear =" images/clear.gif "to save the file path of clear.gif.

 

3). The PNG images of your entire project are transparent. Is it really very simple? In two steps, the transparency of all the PNG files on the entire site is achieved.

Note:

Unit PNG fix enables background-repeat to work in IE6. However, this work method does not work like a normal repeat image repeat, but uses a stretch effect. however, it is still effective, so it is also very good. because there is no solution that can implement the transparent filter to repeat the image in IE6.

 

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.