Solution: transparent PNG images under IE6 cannot be displayed transparently

Source: Internet
Author: User

Transparent PNG images in ie5.5 and ie6are not displayed normally. A jqueryplug-in named jquery.png fix is found today. This tool can fix this bug.

It uses the DXImageTransform. Microsoft. alphaimageloader filter in IE to implement this function.

Download from here: http://jquery.andreaseberhard.de/download/pngFix.zip

Usage:

First, add jquery and reference of this plug-in to the page header.

Then use the followingCode:

$ (Document). Ready (function () {parameters (document).png fix ();});
You only need two steps to solve the problem.

Problems:

This plug-in also has a small bug. IE6 does not support locating the background-position of images in PNG format. For this bug, we can export the background image format as GIF or as a single png24 image without CSS Sprites processing.

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.