<?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>Merjis Internet Marketing Blog &#187; internet explorer</title>
	<atom:link href="http://blog.merjis.com/category/internet-explorer/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.merjis.com</link>
	<description>Effective Internet Marketing Strategy and Tactics Through Test</description>
	<lastBuildDate>Thu, 12 Jan 2012 09:18:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Hours lost fixing Internet Explorer</title>
		<link>http://blog.merjis.com/2006/10/23/hours-lost-fixing-internet-explorer/</link>
		<comments>http://blog.merjis.com/2006/10/23/hours-lost-fixing-internet-explorer/#comments</comments>
		<pubDate>Mon, 23 Oct 2006 13:04:10 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://blog.merjis.com/2006/10/23/hours-lost-fixing-internet-explorer/</guid>
		<description><![CDATA[Internet Explorer 7 was released last week to mixed reviews and comparisons with Firefox. A lot of misinformed opinion has been floating around about how this version supposedly &#8220;supports&#8221; CSS, isn&#8217;t it wonderful how Microsoft has embraced standards, etc. The actual truth is more mixed: Microsoft has certainly fixed a few of the more outrageous [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.microsoft.com/windows/ie/">Internet Explorer 7</a> was released last week to <a href="http://www.theinquirer.net/default.aspx?article=35254">mixed reviews</a> and comparisons with <a href="http://www.ie7.com/">Firefox</a>.  A lot of misinformed opinion has been floating around about how this version supposedly &#8220;supports&#8221; CSS, isn&#8217;t it wonderful how Microsoft has embraced standards, etc.  The actual truth is more mixed: Microsoft has certainly <a href="http://blogs.msdn.com/ie/archive/2005/07/29/445242.aspx">fixed a few of the more outrageous bugs in IE6</a>, but there are several left, and so Microsoft is still slowly on the road to <a href="http://www.w3.org/TR/CSS1">CSS 1</a> (released nearly 10 years ago in December 1996) while other browsers are working on <a href="http://developer.mozilla.org/en/docs/CSS3_Columns">parts</a> of the yet-to-be-finalised <a href="http://www.w3.org/Style/CSS">CSS 3</a>.<br />
<span id="more-39"></span><br />
One bug affects our <a href="http://merjis.com/">home page</a>.  Top is how IE7 renders the page, and below is a standards-compliant rendering:</p>
<p><img src="http://blog.merjis.com/wp-content/uploads/2006/10/ie7-standards-compared.png"></p>
<p>The root of this problem are the left-hanging headers and bullet points, which I implemented after reading <a href="http://www.amazon.com/Elements-Typographic-Style-Robert-Bringhurst/dp/0881791326">The Elements of Typographic Style</a>.  IE7 incorrectly clips these.</p>
<p>The bug exists in IE6 too.  To fix it there I used the <a href="http://www.positioniseverything.net/articles/poll/star-html.php">&#8220;* html&#8221; hack</a> to deliver modified CSS snippets to IE6 which would be ignored by other browsers.  The pattern is roughly this:</p>
<pre>
h3 {
  /* code to do the left-hanging headers */
}

<b>* html</b> h3 {
  /* fix for IE6 - undo the left-hanging headers to
    avoid the clipping bug */
}
</pre>
<p>This hack is unpleasant (we&#8217;d much prefer all browsers to implement the standards), but at least it keeps the original working CSS and the IE6 fix together.  And we only need to send a single stylesheet, with all the attendant speed and caching benefits, not to mention ease of implementation within our CMS.</p>
<p>IE7 has fixed the &#8220;* html&#8221; hack, but not of course the clipping bug.  IE7 therefore correctly ignores the fixes, but renders the page incorrectly.</p>
<p>There is <a href="http://nanobox.chipx86.com/blog/2006/04/easy-css-hacks-for-ie7.php">no pleasant replacement</a> for the &#8220;* html&#8221; hack (one might be found in future though, as bugs in the parsing of IE7 are happened upon accidentally).  To fix this now we will have to change our CMS to send a separate stylesheet to IE7 or use <a href="http://www.mezzoblue.com/archives/2005/11/03/ie7_conditio/">conditional comments</a>.</p>
<p>More hours of work <a href="http://www.michaelhanscom.com/eclecticism/2004/05/its_not_my_faul.html">fixing Internet Explorer</a>.  Thanks, Microsoft.</p>
<h3>Updates</h3>
<p><a href="http://www.webdevout.net/browser_support.php">Comparison of web standards support in IE7, IE6 vs other browsers</a></p>
<p><a href="http://www.positioniseverything.net/explorer.html">The weird and wonderful world of Internet Explorer</a></p>
<p><a href="http://interviews.slashdot.org/article.pl?sid=06/10/27/1549259">Interview with head of IE7 development</a> &#8211; he comes across as cynical and defensive.</p>
 <img src="http://blog.merjis.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=39" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.merjis.com/2006/10/23/hours-lost-fixing-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

