Why IE 6 doesn't display PNGs properly
Even though ALL OTHER browsers .. yes including IE 5 for the Mac display PNGs properly without having to add any html to a web page. IE for Windows REQUIRES you to add a "AlphaImageLoader" to display them right in it. What a load of horse shit.
PNG Files Do Not Show Transparency in Internet Explorer
The information in this article applies to:
? Microsoft Internet Explorer version 6 for Windows 98
? Microsoft Internet Explorer version 6 for Windows 98 Second Edition
? Microsoft Internet Explorer version 6 for Windows Millennium Edition
? Microsoft Internet Explorer version 6 for Windows NT 4.0
? Microsoft Internet Explorer version 6 for Windows 2000
? Microsoft Internet Explorer (Programming) version 5.5 Service Pack 1, used with:
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows Millennium Edition
- the operating system: Microsoft Windows NT, versions (all versions and editions), 4.0
- the operating system: Microsoft Windows 2000
? Microsoft Internet Explorer version 6 for Windows XP
? Microsoft Internet Explorer version 6 for Windows XP 64-Bit Edition
SUMMARY
If you browse to a Web page that contains an image that has a transparent background in Portable Network Graphics (PNG) format, the image background may appear to be gray rather than transparent.
MORE INFORMATION
Web developers who work with PNG files can use the AlphaImageLoader filter, as demonstrated in the following example:
<html>
<head></head>
<body bgColor="blue">
<!-- This DIV is the target container for the image. -->
<DIV ID="oDiv" STYLE="position:absolute; left:140px; height:400; width:400;
filter rogid XImageTransform.Microsoft.AlphaImageLoader(
src='image.png', sizingMethod='scale');" >
</DIV>
</body>
</html>
Why Pngs wont work on IE
[ 11-27-2001: Message edited by: Sinewave ]</p>
PNG Files Do Not Show Transparency in Internet Explorer
The information in this article applies to:
? Microsoft Internet Explorer version 6 for Windows 98
? Microsoft Internet Explorer version 6 for Windows 98 Second Edition
? Microsoft Internet Explorer version 6 for Windows Millennium Edition
? Microsoft Internet Explorer version 6 for Windows NT 4.0
? Microsoft Internet Explorer version 6 for Windows 2000
? Microsoft Internet Explorer (Programming) version 5.5 Service Pack 1, used with:
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows Millennium Edition
- the operating system: Microsoft Windows NT, versions (all versions and editions), 4.0
- the operating system: Microsoft Windows 2000
? Microsoft Internet Explorer version 6 for Windows XP
? Microsoft Internet Explorer version 6 for Windows XP 64-Bit Edition
SUMMARY
If you browse to a Web page that contains an image that has a transparent background in Portable Network Graphics (PNG) format, the image background may appear to be gray rather than transparent.
MORE INFORMATION
Web developers who work with PNG files can use the AlphaImageLoader filter, as demonstrated in the following example:
<html>
<head></head>
<body bgColor="blue">
<!-- This DIV is the target container for the image. -->
<DIV ID="oDiv" STYLE="position:absolute; left:140px; height:400; width:400;
filter rogid XImageTransform.Microsoft.AlphaImageLoader(
src='image.png', sizingMethod='scale');" >
</DIV>
</body>
</html>
Why Pngs wont work on IE
[ 11-27-2001: Message edited by: Sinewave ]</p>
Comments
<img src="graemlins/hmmm.gif" border="0" alt="[Hmmm]" />
Does some of that Gif licence cash go to M$ or somthing! Do they want to kill PNG off and implement some wacky format of there own?
<strong>UGH! I am a Web designer and that stinks. There should be NO nead to add extra script just to display an image properly. Most pages all ready have enough going on it the 'page header' part as is.
<img src="graemlins/hmmm.gif" border="0" alt="[Hmmm]" />
Does some of that Gif licence cash go to M$ or somthing! Do they want to kill PNG off and implement some wacky format of there own?</strong><hr></blockquote>
Who knows.. this just looks like a wacky work around hack. I wonder why IE for the Mac can display them right.. why even XP's own GUI can display pngs right.. but MS can't get them to work in their browser properly. Maybe the have something you can buy for $30 that lets you view them correctly in IE
If the link or title of the url is too long then it doesn't work right in case you weren't sure why that happened :-/ testing again anyways.
<strong>Heh still didn't work. Odd</strong><hr></blockquote>
Here's my all time favorite application from Bill Gates and company ... Microsoft Works.
HA HA HA HA HA HA!
<strong>
Here's my all time favorite application from Bill Gates and company ... Microsoft Works.
HA HA HA HA HA HA!
</strong><hr></blockquote>
<img src="confused.gif" border="0">
Score another one for the MS Mac division.
<strong>IE Mac seems to handle PNG and other graphic formats well because, IIRC, most of its image handling is done via Quicktime. And Quicktime handles PNG just fine. IE on Windows doesn't rely on QT, and it seems their native handling of PNG is pretty shabby.
Score another one for the MS Mac division. </strong><hr></blockquote>
Considering XP uses pngs to natively handle it's GUI you'd think IE6 would too.