Quote from: pixelchutes at Apr 09, 2007, 04:27 PM
How does this handle .PNG images as backgrounds in CSS? Since it uses the DOM to reference images on the page, only part of the images have the filter applied. Is there a better solution for CSS-defined (background-image) and HTML-defined .PNG images in MSIE 5.5 & 6 ??
This seems to be the closest solution I can find (I believe the SAME solution packaged with MODx ...however,I have never used it )
http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html (DEMO Link @ Bottom of Page)
Unfortunately, I don’t think this handles CSS-defined images/backgrounds ..Is there a solution?
This appears to be a modified version that also handles CSS background images, but looks much more messy:
Hi pixelchutes, I ran into similar issues with CSS-defined PNG backgrounds. After trying a few different methods, I found fix works pretty well -
Strangely enough, I had to embed the CSS into the main template to get it to work.
Hope this helps.