<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gabriel de Kadt &#187; IE6</title>
	<atom:link href="http://www.lazydada.com/tag/ie6/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lazydada.com</link>
	<description>Personal notes on Mac based web development and design.</description>
	<lastBuildDate>Tue, 30 Aug 2011 10:47:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>IE6 link bug over PNG</title>
		<link>http://www.lazydada.com/2009-02-22/ie6-link-bug-over-png/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ie6-link-bug-over-png</link>
		<comments>http://www.lazydada.com/2009-02-22/ie6-link-bug-over-png/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 22:36:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[PNG]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?p=209</guid>
		<description><![CDATA[One day I awoke brightly, but to my surprise&#8230; I&#8217;ve been so excited to be able to use full alpha transparency PNGs and getting them to play nice in IE6. Today I&#8217;ve found another PNG/IE6 issue. It seems that in some cases IE6 doesn&#8217;t like to have links in an element that is child of [...]]]></description>
			<content:encoded><![CDATA[<h4>One day I awoke brightly, but to my surprise&#8230;</h4>
<p>I&#8217;ve been <b>so</b> excited to be able to <a href="http://www.lazydada.com/2008-10-18/full-alpha-transparency-for-png-images-and-css-backgrounds-in-ie6/">use full alpha transparency PNGs and getting them to play nice in IE6</a>. Today I&#8217;ve found another PNG/IE6 issue. It seems that in some cases IE6 doesn&#8217;t like to have links in an element that is child of one with a background PNG to which <code>filter:progid:DXImageTransform.Microsoft.AlphaImageLoader</code> is applied. </p>
<p>The solution (in my case) was very simple:  just needed to close the div for the background and add another for the links. Now the links just appear to be contained by the background. </p>
<p> CSS trickery: eat my heart out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2009-02-22/ie6-link-bug-over-png/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Full alpha transparency for PNG images and CSS backgrounds in IE6.</title>
		<link>http://www.lazydada.com/2008-10-18/full-alpha-transparency-for-png-images-and-css-backgrounds-in-ie6/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=full-alpha-transparency-for-png-images-and-css-backgrounds-in-ie6</link>
		<comments>http://www.lazydada.com/2008-10-18/full-alpha-transparency-for-png-images-and-css-backgrounds-in-ie6/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 23:05:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[PNG]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?p=87</guid>
		<description><![CDATA[Update 2009 I&#8217;ve now jumped to the other side of the fence. In the name of speed and slowly [oh so slowly] dying share of IE6 I&#8217;ve stopped trying to pander to it. There&#8217;s a few extra bugs and issues to contend with anyway. So what I&#8217;ll do now is specify a regular gif or [...]]]></description>
			<content:encoded><![CDATA[<h4>Update 2009</h4>
<p>I&#8217;ve now jumped to the other side of the fence. In the name of speed and slowly [oh so slowly] dying share of IE6 I&#8217;ve stopped trying to pander to it. There&#8217;s a few extra <a href="http://www.lazydada.com/2009-02-22/ie6-link-bug-over-png/">bugs</a> and <a href="http://www.lazydada.com/2009-05-10/more-png-notes/">issues</a> to contend with anyway. So what I&#8217;ll do now is specify a regular gif or PNG8 file in an for<a href="http://www.lazydada.com/2009-09-08/free-from-the-shackles-of-css-conditional-comments/"> IE6 using a selector hack</a>. Anyway &#8211; for posterity here&#8217;s the old articl </p>
<hr />
<p>Have nice PNG with transparency. Wish to implement. Must consider IE6. Nasty, distinctly non-transparent grey background for PNGs in <acronym title="Internet Explorer 6">IE6</acronym>.</p>
<p><a title="The Man" href="http://mri-direct.co.uk/" target="_blank">Current job</a> requires a PNG implemented as a CSS background which repeats on all pages of the site…</p>
<p>If-already-then-already — the search was on to find a solution that works on CSS background images and regular in-line images. That and it had to be a nice standards compliant thing with a low footprint.</p>
<p>Jump to <a href="#the-best-options-for-PNG-IE-transparency">the best options</a> and/or the <a title="The best solution for PNGs with alpha transparency in ie6" href="#conclusion">conclusion</a></p>
<p>Googled it. Solutions I found and tried first:</p>
<ul>
<li><a rel="nofollow" href="http://24ways.org/2007/supersleight-transparent-png-in-ie6" target="_blank"><del datetime="2008-10-18T08:33:34+00:00">supersleight</del></a> &#8211; couldn&#8217;t get it to work at-all at-all.</li>
<li><a rel="nofollow" href="http://www.twinhelix.com/css/iepngfix/" target="_blank"><del datetime="2008-10-18T08:33:34+00:00">unitpngfix</del></a> &#8211; worked well &#8211; but if image is reused (cached) on a different page then image suffers from a flash of the nasty grey. That and there are positioning issues.</li>
<li><a rel="nofollow" href="http://code.google.com/p/ie7-js/" target="_blank"><del datetime="2008-10-18T08:33:34+00:00">ie7</del></a> &#8211; works as unitpngfix &#8211; also does other things I&#8217;m not too interested in. No want the flashy flashy grey.</li>
</ul>
<p>Then, on having another look a the long <a title="Multitude of PNG fixes for IE5 and IE6" href="http://en.wikipedia.org/wiki/Portable_Network_Graphics#Web_browser_support_for_PNG" target="_blank">wiki list</a> of other possible options, &#8211; eureka! I realised I really should be using IE6 itself as the first test. [Still not used to having <a title="Multiple virtualised XPs with IE6, 7 and 8 for development testing with a Mac, VMWare and VHDs from Microsoft" href="http://www.lazydada.com/2008-10-03/ie6-ie7-ie8-testing-on-mac-vmware-xp-vhd/" target="blank">IE6 on my mac</a>!] Most of these have an on-line demo! Brilliant. What a clever chap. [A-hem.] OK &#8211; it&#8217;s late, forgive me please…</p>
<p>With intelligent filtering™ now in place I found that most of the solutions suffer from the grey/gray flash. Of these not-so-rans <a href="http://pp.flixn.com/2008/05/11/a-better-ie-55-and-6-png-fix/" target="_blank">Flixn</a> suffers the grey flash but at least positioning is good.</p>
<h2 id="the-best-options-for-PNG-IE-transparency">The Best Options</h2>
<p>In the end the fix comes in the shape of IE&#8217;s proprietary image filters; DirectX weirdness over a ten-year-old standardised graphic format. &#8220;Go figure.&#8221; Anyway most of the fixes available use this feature but only two options pass the grey/gray flash test<a href="#fn1">*</a>:</p>
<ul>
<li>&#8220;pngbehavior&#8221; from webfx</li>
<li>&#8220;Cross Browser PNG Transparency&#8221; parts one and two from drunkenfist</li>
</ul>
<h3><a id="pngbehavior" href="http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html" target="_blank">pngbehavior</a></h3>
<p>Great! Just add a CSS class to your inline images, one CSS declaration (non-standard) and throw a lovely pngbehavior.htc. Bingo. <strong>But</strong> this only works on inline images &#8211; not with CSS background images&#8230;</p>
<h3><a id="drunkenfist" title="Cross browser solution for PNGs with alpha transparency in IE6" href="http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/" target="_blank">&#8220;Cross Browser PNG Transparency&#8221;</a> from drunkenfist</h3>
<p>Perfect with CSS background images but more work than pngbehavior for inline images as requires an extra named div and then two lines of CSS per image. Great point from this chap about using the conditional comments and separate style sheets to hide IE specific CSS hacks from other browsers.</p>
<h2 id="conclusion">Conclusion</h2>
<p>OK &#8211; so neither of <a href="#the-best-options-for-PNG-IE-transparency">the best options</a> fulfil the requirement to fix PNG24 images and CSS backgrounds nicely but can <a href="#drunkenfist">drunkenfist</a> and <a href="pngbehavior" target="_blank">pngbehavior</a> work together? YES!<br />
Me, happy? Yabetcha.</p>
<p>CSS goes something like this:<br />
<code><br />
/* TRANSPARENT PNGs IN IE6  */<br />
/* For background images (from from http://www.drunkenfist.com/304/2007/04/04/cross-browser-png-transparency-part-2/ ) NOTE THE FIRST background:url() IS BLANK. LEAVE IT SO! */<br />
#YourID {<br />
background:url();<br />
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<br />
/path/to/image.png',sizingMethod='crop');<br />
}</code></p>
<p><code> </code></p>
<p><code>/* For inline images (from http://webfx.eae.net/dhtml/pngbehavior/demo.html<br />
) */<br />
img.png  {<br />
behavior: url("/path/to/pngbehavior.htc");<br />
}<br />
</code></p>
<p>Wrap all this IE gubbins into a single CSS file and link via a conditional comment to <em>hide your shame</em> (and keep things &#8216;validatable&#8217; of course).</p>
<p>Said conditional bit to put in your head:<br />
<code><br />
&lt;!--[if gte IE 5.5]&gt;<br />
&lt;![if lt IE 7]&gt;<br />
&lt;link rel="STYLESHEET" type="text/css" href="/path/to/ie-gubbins.css" /&gt;<br />
&lt;![endif]&gt;<br />
&lt;![endif]--&gt;<br />
</code></p>
<p>Don&#8217;t forget that pngbehavior.htc file from webfx.</p>
<hr /><a name="fn1"></a>I tried <a rel="nofollow" href="http://24ways.org/2007/supersleight-transparent-png-in-ie6"><del datetime="2008-10-18T11:35:35+00:00">supersleight</del></a> again but still couldn’t get it to work at-all at-all. <a href="http://www.pluitsolutions.com/2008/04/11/solving-css-png-fix-background-none-call/" target="_blank">Pluitsolutions</a> was not tested as I couldn&#8217;t find an on-line demo to show it whooping ass of the grey box flash.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2008-10-18/full-alpha-transparency-for-png-images-and-css-backgrounds-in-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple virtualised XPs with IE6, 7 and 8 for development testing with a Mac, VMWare and VHDs from Microsoft</title>
		<link>http://www.lazydada.com/2008-10-03/ie6-ie7-ie8-testing-on-mac-vmware-xp-vhd/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ie6-ie7-ie8-testing-on-mac-vmware-xp-vhd</link>
		<comments>http://www.lazydada.com/2008-10-03/ie6-ie7-ie8-testing-on-mac-vmware-xp-vhd/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 08:23:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?p=76</guid>
		<description><![CDATA[As IE can only work reliably in exclusion of other versions. the most (or only) reliable way to test various versions of IE on one machine is using virtualization. Amazing but oh-so-true. VPC images for ie6 ie7 and ie8 for web development and testing from Microsoft Microsoft give away free time crippled VHD files for [...]]]></description>
			<content:encoded><![CDATA[<p>As IE can only work reliably in exclusion of other versions. the most (or only) reliable way to test various versions of IE on one machine is using virtualization. Amazing but oh-so-true.</p>
<h3>VPC images for ie6 ie7 and ie8 for web development and testing from Microsoft</h3>
<p>Microsoft give away free time crippled VHD files for this purpose – search for “Internet Explorer Application Compatibility VPC Image”. Today you will find this link <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=21eabb90-958f-4b64-b5f1-73d0a413c8ef&#038;DisplayLang=en" title="VPC images for ie6 ie7 and ie8 for web development and testing from Microsoft" target="_blank">here</a>. Look at that link &#8211; SEO urls a-go-go! Gone.</p>
<p>Problem is that getting these images to play nice with VMWare Fusion for Mac is not so straightforward. The only way I&#8217;ve found to do this is documented <a href="http://communities.vmware.com/docs/DOC-7250" target="_blank" title="How to convert VHD to VMDK for VMWare Fusion">here</a> on the VMWare communities. The result &mdash; at least without the required XP Pro install disk which I have packed away in a box somewhere &mdash; is pretty good. Not as seamless as the original VirtualPC image I converted but very usable.</p>
<h4>An aside&hellip; on forcing IE8 to be backwardly compatibile with IE7</h4>
<p>&hellip;is via a metatag in the head element to ask it nicely to behave like IE7: </p>
<p><code>&lt;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/></code></p>
<p>DON&#8217;T BREAK THE WEB! They cried. I think there&#8217;s ironing in there. Nice starch.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2008-10-03/ie6-ie7-ie8-testing-on-mac-vmware-xp-vhd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
