The perfect way to solve the transparency of PNG pictures under IE6

Source: Internet
Author: User
Tags filter

Read a lot of online on the resolution IE6 PNG pictures transparent articles, many are only resolved on the page inserted PNG picture or CSS background calls, but no transparency effect, under IE6 only to achieve the removal of gray background. Today special download Some excellent pages for analysis and integration, sorted out two quite effective solutions, can support the insertion of pictures or CSS background calls.

Update download version Description: 1. " Ie6-png-2 (filter) file, filter control calls background transparency and JS control Insert picture Transparency can not appear at the same time, so there will be problems in different browsers, can be used separately;
2. "Ie6-png-1 (JS)" file in the collation of a more simple method of call, no use of filters, tested under the browser can be normal display. This method is highly recommended!
IE6 Transparent effect Preview ( left image is a CSS background call, the right image inserts a picture in the HTML code ):

Sample Download Address: Click to download this file



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.