<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Show PNG transparency in IE6</title>
	<atom:link href="http://protech.ws4.org/html/png-transparency-ie6/feed" rel="self" type="application/rss+xml" />
	<link>http://protech.ws4.org/html/png-transparency-ie6</link>
	<description>Technology, webmarketing and world</description>
	<lastBuildDate>Wed, 23 Sep 2009 16:35:07 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: bamaral</title>
		<link>http://protech.ws4.org/html/png-transparency-ie6/comment-page-1#comment-19</link>
		<dc:creator>bamaral</dc:creator>
		<pubDate>Fri, 11 Apr 2008 13:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://protech.ws4.org/html/png-transparency-ie6#comment-19</guid>
		<description>I forgot to explain something that is very important when using this work around. How can we make this work both in Internet Explorer and FireFox? We can do it by two different ways.
&lt;p&gt;&#160;&lt;/p&gt;
We can use &lt;strong&gt;Conditional Comments&lt;/strong&gt; to select put some CSS only in IE6 implementing the work around. This is a feature only from the Internet Explorer browser.
&lt;blockquote&gt;
	&lt;!--[if lt IE 7]&gt;
	&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;ie6style.css&quot; /&gt;
	&lt;![endif]--&gt;
&lt;/blockquote&gt;
Remember that in the normal CSS you must put a normal CSS background. It must be before the IR6 hack.
&lt;blockquote&gt;
	background: url(&quot;bkg.png&quot;) top left no-repeat;
&lt;/blockquote&gt;
If you are worried about the validation, you don&#039;t need to be, because Conditional Comments validate well. The validators like W3C will think that it&#039;s a normal comment.
&lt;p&gt;&#160;&lt;/p&gt;
Another way uses only CSS and try a different approach. Create a class to be read from IE and another one only from another browsers, because the IE browsers ignore &lt;strong&gt;classes with attributes&lt;/strong&gt;, like following:
&lt;blockquote&gt;
	.bkg {
		width:100px;
		height:50px;
		/* Mozilla ignores &lt;strong&gt;MS image filters&lt;/strong&gt;, so it will skip this filter */
	    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src=&quot;bkg.png&quot;);
	}
	/* IE ignores styles with [attributes], so it will skip this class */
	.bkg[class] {
	  	background: url(&quot;bkg.png&quot;) top left no-repeat;
	}
&lt;/blockquote&gt;
&lt;p&gt;&#160;&lt;/p&gt;
Now I think you won&#039;t have doubts.</description>
		<content:encoded><![CDATA[<p>I forgot to explain something that is very important when using this work around. How can we make this work both in Internet Explorer and FireFox? We can do it by two different ways.</p>
<p>&nbsp;</p>
<p>We can use <strong>Conditional Comments</strong> to select put some CSS only in IE6 implementing the work around. This is a feature only from the Internet Explorer browser.</p>
<blockquote><p>
	&lt;!&#8211;[if lt IE 7]&gt;<br />
	&lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;ie6style.css&#8221; /&gt;<br />
	&lt;![endif]&#8211;&gt;
</p></blockquote>
<p>Remember that in the normal CSS you must put a normal CSS background. It must be before the IR6 hack.</p>
<blockquote><p>
	background: url(&#8221;bkg.png&#8221;) top left no-repeat;
</p></blockquote>
<p>If you are worried about the validation, you don&#8217;t need to be, because Conditional Comments validate well. The validators like W3C will think that it&#8217;s a normal comment.</p>
<p>&nbsp;</p>
<p>Another way uses only CSS and try a different approach. Create a class to be read from IE and another one only from another browsers, because the IE browsers ignore <strong>classes with attributes</strong>, like following:</p>
<blockquote><p>
	.bkg {<br />
		width:100px;<br />
		height:50px;<br />
		/* Mozilla ignores <strong>MS image filters</strong>, so it will skip this filter */<br />
	    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src=&#8221;bkg.png&#8221;);<br />
	}<br />
	/* IE ignores styles with [attributes], so it will skip this class */<br />
	.bkg[class] {<br />
	  	background: url(&#8221;bkg.png&#8221;) top left no-repeat;<br />
	}
</p></blockquote>
<p>&nbsp;</p>
<p>Now I think you won&#8217;t have doubts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bamaral</title>
		<link>http://protech.ws4.org/html/png-transparency-ie6/comment-page-1#comment-16</link>
		<dc:creator>bamaral</dc:creator>
		<pubDate>Thu, 28 Feb 2008 16:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://protech.ws4.org/html/png-transparency-ie6#comment-16</guid>
		<description>Thank you for your post. It&#039;s good to know that you like it.</description>
		<content:encoded><![CDATA[<p>Thank you for your post. It&#8217;s good to know that you like it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bob</title>
		<link>http://protech.ws4.org/html/png-transparency-ie6/comment-page-1#comment-13</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Sun, 10 Feb 2008 15:54:33 +0000</pubDate>
		<guid isPermaLink="false">http://protech.ws4.org/html/png-transparency-ie6#comment-13</guid>
		<description>hi great site thx</description>
		<content:encoded><![CDATA[<p>hi great site thx</p>
]]></content:encoded>
	</item>
</channel>
</rss>
