png in IE6

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
2/25/2010 1:19:12 PM
Gravatar
Total Posts 125

png in IE6

in the new release, I didn't find the iepngfix.htc file. Do we have a better way to fix the png file display in IE6?

2/25/2010 1:34:52 PM
Gravatar
Total Posts 2239

Re: png in IE6

Hi,

For the transparency issue in IE6, you can use the DD_belatedPNG script. Many people use the IEPngFix script but it doesn't work correctly when you have a link inside of an element that uses a PNG for a background.

To use DD_BelatedPNG:

1. Download the compressed version of the script and place it in your /ClientScript folder on your site.

2. Place the following in your layout.master underneath the <portal:IEStyleIncludes.../> line

<!--[if IE 6]>
<script src="/ClientScript/DD_belatedPNG_0.0.8a-min.js"></script>
<script>
DD_belatedPNG.fix('img, #wrapheader, #wrapfooter, .leftside, .rightside, .center-leftmargin, .center-rightmargin, .center-rightandleftmargins, .center-nomargins, .Filled, .Empty, .Saved');
</script>
<![endif]-->

HTH,
Joe D.
 

2/25/2010 1:41:05 PM
Gravatar
Total Posts 125

Re: png in IE6

Thanks Joe, Works great.

2/25/2010 3:31:14 PM
Gravatar
Total Posts 125

Re: png in IE6

one  more problem.

After i add the script, all the png  images, which I resized with setting width or height , has returned to the original size. Any ideas? Thanks

2/25/2010 4:05:34 PM
Gravatar
Total Posts 2239

Re: png in IE6

You may want to check out the DD_belatedPNG website.

http://www.dillerdesign.com/experiment/DD_belatedPNG/

HTH,
Joe D.

You must sign in to post in the forums. This thread is closed to new posts.