On Mon, 30 Jun 2008 17:32:12 -0700, Chris Darwin
wrote:
Building a web page with some .PNG images so I can have irregular border images.
They look fine in the page editor and in Firefox but opening them with IE 6.0 and the transparent rectangular border shows up as white?
Any ideas?
….Micro$oft Internet Explorer has always had a problem with supporting transparency in .PNG files. M$ promised full support for the format, but when they released the first version of IE to support it – 5.5, IIRC – transparency wasn’t supported. Since then, there’s been a lot of screaming and yelling at M$ to get them to fix this, but it seems the louder we scream, the deafer they get. The closest they’ve gotten was to issue a couple of tech bulletins, one advises to reduce the color pallet to 256 colors, the second uses some XML call to Direct-X to force Alpha Channel support:
http://support.microsoft.com/?scid=kb;en-us;265221
http://msdn.microsoft.com/en-us/library/ms532969.aspx ….Since then, there’s been a couple of ubergeeks who’ve developed their own workarounds in HTML and Javascript:
Drew McLellan:
http://24ways.org/2007/supersleight-transparent-png-in-ie6 Bob Osola:
http://homepage.ntlworld.com/bobosola/ ….I’ve tried Bob’s before, but I’ve had some users on one of my pro websites complain about their browsers locking up when they actually try to move the .PNG around – not that I want them to, but the fix allows for it. And since I don’t want *or* need the images to be movable by the user, I simply resort to the OM fix:
OM:
Just use JPGs and GIFs, knowing full well that any company that tries to claim they own either standard *and* want -any- $$$ now, after all this time, can not only cram their extortion demands up their collective corporate asses, anyone who uses the Web will probably be glad to donate jars of Vasoline or tubes of K-Y to help with the insertion process.
….Anyway, hope this helps, but again keep in mind that since the majority of internet users use IE, although PNG might be a better format, if it’s a flag raised that IE won’t salute, it’s probably better that you stick with a format that it will, such as JPG or GIF, and address whether or not you really need transparent backgrounds for the image.
OM
—
]=====================================[
] OMBlog –
http://www.io.com/~o_m/omworld [
] Let’s face it: Sometimes you *need* [
] an obnoxious opinion in your day! [
]=====================================[