Unit PNG Fix

Noch mal ein IE PNG Fix zum testen: Unit PNG Fix

Unit PNG Fix uses an empty image, name “clear.gif”, to help keep certain elements structurally sound when using the filter property. Make sure that you place “clear.gif” in with your other images, and then open “unitpngfix.js”. On the first line, check to see that the first variable matches the correct path to “clear.gif”, relative to the root [not the javascript].

One thing to note: Unit PNG Fix will work with the CSS background-repeat attribute… kinda. It does not work like background-repeat should [IE6’s filter property doesn’t allow that], but Unit PNG Fix does read the element’s CSS, and if it is using a background-repeat, the image will be stretched to fill the element background. This isn’t ideal, but it is all that can be expected of the filter property.

Possibly related posts (automatically generated)