<?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; ie7</title>
	<atom:link href="http://www.lazydada.com/tag/ie7/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>Thu, 09 Sep 2010 15:29:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Free from the shackles of CSS conditional comments</title>
		<link>http://www.lazydada.com/2009-09-08/free-from-the-shackles-of-css-conditional-comments/</link>
		<comments>http://www.lazydada.com/2009-09-08/free-from-the-shackles-of-css-conditional-comments/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 12:12:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[conditional comments]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[ie7]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?page_id=433</guid>
		<description><![CDATA[CSS hacks are here to stay but lets bundle them up in a single style-sheet… After trying to &#8220;hide my shame&#8221; [was it Zeldman that turned me on to CondComs with this phrase?] by using conditional comments for IE specific hacks, I&#8217;m now happier with the new and revised and reverted wisdom that throwing all [...]]]></description>
			<content:encoded><![CDATA[<h4 class="standfirst"><acronym title="Cascading Style Sheets">CSS</acronym> hacks are here to stay but lets bundle them up in a single style-sheet…</h4>
<p>After trying to &#8220;hide my shame&#8221; [was it <a href="http://zeldman.com">Zeldman</a> that turned me on to <abbr title="Conditional Comments">CondComs</abbr> with this phrase?] by using <a href="http://www.456bereastreet.com/archive/200510/stop_using_css_hacks_now/">conditional</a> <a href="http://www.quirksmode.org/css/condcom.html">comments</a> for IE specific hacks, I&#8217;m now happier with the new and revised and reverted wisdom that throwing all your CSS code into a single style sheet is best.</p>
<p>I&#8217;d read Meiert&#8217;s «<a href="http://meiert.com/en/blog/20070201/why-conditional-comments-are-bad-repeat-bad/">CondComs are bad</a>» article ages ago but I was still a print designer by trade so the message went into a back drawer in my mind. It&#8217;s a good read on the cons and it&#8217;s updated too.</p>
<p>For a while I have found elegance in removing offending and non-valid CSS code to fix bug for <acronym title="Microsoft Internet Explorer">IE</acronym>, particularly as a way of dealing with proprietary <acronym title="Microsoft">MS</acronym> code when incorporating PNGs with full alpha transparency into IE6. I&#8217;ve since moved away from trying to make <a href="/2008-10-18/full-alpha-transparency-for-png-images-and-css-backgrounds-in-ie6/">png24 work with IE6</a>; and then came the <a href="http://www.stubbornella.org/content/category/general/geek/performance-geek-general/">speed demons</a> and calls from the gallery for fewer HTTP requests.</p>
<h2>Avoid Extra Stylesheets</h2>
<ul>
<li>Fewer HTTP requests = quicker site (particularly for the majority IE crowd that need the hacks)</li>
<li>All code is kept together for easy reading. &#8216;Cos we al know that code is read more than it is written&#8230;</li>
<li>And lastly; the typical, for me, extra-ordinary reason: no more 404 errors sent to me from my <a title="get server errors emailed to you automatically with a PHP driven 404 error page" href="/2009-01-21/a-better-404/">better 404 page</a> indicating phantom strangeness for style-sheets linked to through conditional comments when there&#8217;s an .htaccess versioning rule.</li>
</ul>
<h4>Hide my shame.</h4>
<p>The only reason I was still using conditional comments was because I had failed to find an IE-7-only selector hack. Thanks to <a href="http://www.webdevout.net/css-hacks#in_css-selectors/ title=">Web Devout</a>. Look there for the comprehensive list &#8211; for posterity I copy paste here:</p>
<h2>CSS hacks in CSS Selectors</h2>
<blockquote><p>IE 6 and below<br />
<code>* html {}</code></p>
<p>IE 7 and below<br />
<code>*:first-child+html {} * html {}</code></p>
<p>IE 7 only<br />
<code>*:first-child+html {}</code></p>
<p>IE 7 and modern browsers only<br />
<code>html&gt;body {}</code></p>
<p>Modern browsers only (not IE 7)<br />
<code>html&gt;/**/body {}</code></p>
<p>Recent Opera versions 9 and below<br />
<code>html:first-child {}</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2009-09-08/free-from-the-shackles-of-css-conditional-comments/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/</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! -->