<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Cross Browser PNG Transparency: Part 2</title>
	<atom:link href="http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/</link>
	<description>Rob Larsen writes on web design and development, entertainment, sports and culture.</description>
	<pubDate>Mon, 08 Sep 2008 03:33:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Julie Hathaway</title>
		<link>http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15956</link>
		<dc:creator>Julie Hathaway</dc:creator>
		<pubDate>Sat, 22 Mar 2008 15:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15956</guid>
		<description>However, I believe there is a typo in the conditional comment. The last [endif] is missing a hyphen.</description>
		<content:encoded><![CDATA[<p>However, I believe there is a typo in the conditional comment. The last [endif] is missing a hyphen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julie Hathaway</title>
		<link>http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15954</link>
		<dc:creator>Julie Hathaway</dc:creator>
		<pubDate>Sat, 22 Mar 2008 14:00:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15954</guid>
		<description>Fabulous -- it worked perfectly on the first try!

Thank you thank you thank you!</description>
		<content:encoded><![CDATA[<p>Fabulous &#8212; it worked perfectly on the first try!</p>
<p>Thank you thank you thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15896</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Thu, 13 Mar 2008 07:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15896</guid>
		<description>I was having some serious DIV'itis and, while I got my page to markup, what a horrid mess for content management. This worked like a charm, at least IE6 has some PNG support even if only proprietary. Thanks for posting and with clear instructions and explanations. A rarity.</description>
		<content:encoded><![CDATA[<p>I was having some serious DIV'itis and, while I got my page to markup, what a horrid mess for content management. This worked like a charm, at least IE6 has some PNG support even if only proprietary. Thanks for posting and with clear instructions and explanations. A rarity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15743</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Fri, 15 Feb 2008 21:24:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15743</guid>
		<description>@baker 

&lt;a href="http://www.drunkenfist.com/web/samples/opacity-transparency/index.html" rel="nofollow"&gt;It doesn't appear to work.&lt;/a&gt;

IE seems to just drop the AlphaImageLoader part entirely.

I didn't exhaustively research it, but I did try a couple of approaches.

&lt;a href="http://media.drunkenfist.com/304/wp-content/uploads/2008/02/ie.jpg" rel="nofollow"&gt;Here's a screen shot.&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>@baker </p>
<p><a href="http://www.drunkenfist.com/web/samples/opacity-transparency/index.html" rel="nofollow">It doesn't appear to work.</a></p>
<p>IE seems to just drop the AlphaImageLoader part entirely.</p>
<p>I didn't exhaustively research it, but I did try a couple of approaches.</p>
<p><a href="http://media.drunkenfist.com/304/wp-content/uploads/2008/02/ie.jpg" rel="nofollow">Here's a screen shot.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karl</title>
		<link>http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15733</link>
		<dc:creator>karl</dc:creator>
		<pubDate>Thu, 14 Feb 2008 20:31:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15733</guid>
		<description>Rob,

you solved the issue for me, but possibly not in a manner which any of us envisaged.  When I had a look at your example, it displayed as intended in IE6 on my test machine.  I looked at the source code of your example then went to my page to check the differences.  Upon browsing to the page, it rendered as yours did.  

I was confused, until I recalled that IE caches aggressively, and I had actually solved the issue first time I tried the technique you talk about above, but because of caching of the files in question, I was still getting the old page!

The sample I had I had only linked to the css for &#60;IE7, as the IE6 standalone I had installed considers itself IE7 (standard browser) when reading conditional comments.  I have since rectified this with a different standalone version of IE6.  

Thank you for time and effort - much appreciated, and great to see your technique works.</description>
		<content:encoded><![CDATA[<p>Rob,</p>
<p>you solved the issue for me, but possibly not in a manner which any of us envisaged.  When I had a look at your example, it displayed as intended in IE6 on my test machine.  I looked at the source code of your example then went to my page to check the differences.  Upon browsing to the page, it rendered as yours did.  </p>
<p>I was confused, until I recalled that IE caches aggressively, and I had actually solved the issue first time I tried the technique you talk about above, but because of caching of the files in question, I was still getting the old page!</p>
<p>The sample I had I had only linked to the css for &lt;IE7, as the IE6 standalone I had installed considers itself IE7 (standard browser) when reading conditional comments.  I have since rectified this with a different standalone version of IE6.  </p>
<p>Thank you for time and effort - much appreciated, and great to see your technique works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15732</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Thu, 14 Feb 2008 18:12:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15732</guid>
		<description>Hrm, interesting. I'll take a look at that today. I have some time I can dedicate to research this week and that's sounds like it will be interesting.

I can't even picture what IE6 would do.</description>
		<content:encoded><![CDATA[<p>Hrm, interesting. I'll take a look at that today. I have some time I can dedicate to research this week and that's sounds like it will be interesting.</p>
<p>I can't even picture what IE6 would do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: baker</title>
		<link>http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15731</link>
		<dc:creator>baker</dc:creator>
		<pubDate>Thu, 14 Feb 2008 18:04:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15731</guid>
		<description>Here's one for you - alphaImageLoader AND alpha(opacity) without the PNG looking like crap?

I'm in the midst of researching it, and it seems no one has tried (yet) and there is no documentation anywhere about it...</description>
		<content:encoded><![CDATA[<p>Here's one for you - alphaImageLoader AND alpha(opacity) without the PNG looking like crap?</p>
<p>I'm in the midst of researching it, and it seems no one has tried (yet) and there is no documentation anywhere about it&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15716</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Wed, 13 Feb 2008 04:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15716</guid>
		<description>The white in the middle should remain white as long as the image is produced with white in the middle. If that makes sense.

All you're trying to do is have a smooth drop shadow on top of the space ship? that's definitely possible with this technique. You have two sides which will be semi-transparent and then the middle will be solid white, right? That's a perfect candidate for the full cross-browser technique.

the sample I just looked at has background: transparent url(), etc. in the main sheet so I can't really debug what might be happening in IE6, but this would definitely be possible.

In your IE6 specific style declaration you would need something like this:

#content{
background:url();
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://mothership.co.nz/reduction/images/bg.png',sizingMethod='scale');
}

Here it is working (only in ie6 for now- the browsers with PNG support need to be worked with using normal techniques.)


http://www.drunkenfist.com/web/samples/test.html</description>
		<content:encoded><![CDATA[<p>The white in the middle should remain white as long as the image is produced with white in the middle. If that makes sense.</p>
<p>All you're trying to do is have a smooth drop shadow on top of the space ship? that's definitely possible with this technique. You have two sides which will be semi-transparent and then the middle will be solid white, right? That's a perfect candidate for the full cross-browser technique.</p>
<p>the sample I just looked at has background: transparent url(), etc. in the main sheet so I can't really debug what might be happening in IE6, but this would definitely be possible.</p>
<p>In your IE6 specific style declaration you would need something like this:</p>
<p>#content{<br />
background:url();<br />
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://mothership.co.nz/reduction/images/bg.png',sizingMethod='scale');<br />
}</p>
<p>Here it is working (only in ie6 for now- the browsers with PNG support need to be worked with using normal techniques.)</p>
<p><a href="http://www.drunkenfist.com/web/samples/test.html" rel="nofollow">http://www.drunkenfist.com/web/samples/test.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karl</title>
		<link>http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15715</link>
		<dc:creator>karl</dc:creator>
		<pubDate>Wed, 13 Feb 2008 03:06:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15715</guid>
		<description>Having worked through this, I don't believe it will function as I intend.  The issue is that the background and #content colours are white, so there is little demarcation between them.  Running the script makes the whole PNG transparent, including the white in the middle.  I guess at this juncture I will look to change the design somewhat (as tempted as I am to use conditional comments and create an entirely different look for IE users only).</description>
		<content:encoded><![CDATA[<p>Having worked through this, I don't believe it will function as I intend.  The issue is that the background and #content colours are white, so there is little demarcation between them.  Running the script makes the whole PNG transparent, including the white in the middle.  I guess at this juncture I will look to change the design somewhat (as tempted as I am to use conditional comments and create an entirely different look for IE users only).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karl</title>
		<link>http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15710</link>
		<dc:creator>karl</dc:creator>
		<pubDate>Tue, 12 Feb 2008 22:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/#comment-15710</guid>
		<description>I have replaced the logo with a PNG with a white background, but the background image of the content div refuses to scale (for me at least).

I have gone over both CSS sheets, as well as the html, and cannot find a reason for this.  Frustrating.</description>
		<content:encoded><![CDATA[<p>I have replaced the logo with a PNG with a white background, but the background image of the content div refuses to scale (for me at least).</p>
<p>I have gone over both CSS sheets, as well as the html, and cannot find a reason for this.  Frustrating.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
