Home > Article > Web Front-end > DD_belatedPNG, PNG transparent solution under IE6 (foreign)_javascript skills
We know that IE6 does not support transparent PNG, which undoubtedly limits the space for web design.
However, there are countless solutions to the transparent PNG of IE6 on the entire Internet, ranging from using IE-specific filters or expression, and then to javascript to replace transparent GIF. However, these methods have a shortcoming, that is, they do not support backgrond-position and background-repeat in CSS.
Today I introduce DD_belatedPNG for only one reason, that is, it supports backgrond-position and background-repeat. This is not available in other js plug-ins. At the same time, DD_belatedPNG also supports a:hover attribute, and .
See Demo
Principle
This js plug-in uses Microsoft's VML language for drawing, while most other js plug-ins that solve PNG problems use the AlphaImageLoader filter.
How to use
1. Download here DD_belatedPNG.js file.
2. Quote in the web page, as follows: