Dec 18
Purpose is very simple to repair IE6 on the background-image in 24-bit PNG support issues (not transparent).
Also easy to use:
<!--[if IE 6]>
<script src="DD_belatedPNG.js"></script>
<script>
DD_belatedPNG.fix('.png_bg'); /* EXAMPLE */
/* string argument can be any CSS selector */
/* using .png_bg example is unnecessary */
/* change it to what suits you! */
</script>
<![endif]-->
The main principle is to use VML, VML as well realized in the PNG format support.
Known issues:
- Can not be used on the body contains a PNG image CSS style
- <TD> And <TR>'s performance is not good
- Did not achieve
background-position: fixed;
Link: DD_belatedPNG
Download: uncompressed (~ 9kb) ... Compressed (~ 5KB)
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin .


Recent Comments