Loading...
 
Skip to main content

History: PngBug

Preview of version: 1

Transparent PNGs


In Internet Explorer before version 7, transparent pngs are displayed with a light blue-grey background. This isn't a TikiWiki specific bug, rather a generic IE bug.

The PNG support in IE before version 7 is frankly awful. In addition to its inability to render transparent PNGs, IE also has a tendancy to reduce the colour pallete and/or dither the image depending on various factors. The problems are pretty widely known and a Google search will provide further details and suggested workarounds.

Tweak the image
PNG Behaviour
Server-side replace with GIF
JavaScript solution
JavaScript solution

Note that there doesn't appear to be a complete solution for background images in DIVs. Any attempt to use a filter results in either the replaced image scaling to fill the entire DIV, or the text being clipped to the bounding box of the image.

History

Information Version
Michael Davey added apache solution 2
View
Michael Davey 1
View