<?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>TechMedia &#187; internet explorer</title>
	<atom:link href="http://www.lizhargreaves.com/tag/internet-explorer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lizhargreaves.com</link>
	<description>Liz's tech and media musings</description>
	<lastBuildDate>Fri, 17 Jun 2011 15:10:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to make Internet Explorer behave</title>
		<link>http://www.lizhargreaves.com/2010/03/05/how-to-make-internet-explorer-behave/</link>
		<comments>http://www.lizhargreaves.com/2010/03/05/how-to-make-internet-explorer-behave/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 23:40:37 +0000</pubDate>
		<dc:creator>Liz</dc:creator>
				<category><![CDATA[all posts]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[web develpment]]></category>

		<guid isPermaLink="false">http://www.lizhargreaves.com/?p=1050</guid>
		<description><![CDATA[Internet Explorer has its own unique and dysfunctional way of interpreting the CSS box model of website layout. It is frustrating for web designers to find that a site, which looks so pretty in Firefox and Safari, has burst at the seams in IE. One way you can minimize the pain of coding for IE [...]]]></description>
			<content:encoded><![CDATA[<p>Internet Explorer has its own unique and dysfunctional way of interpreting the CSS box model of website layout. It is frustrating for web designers to find that a site, which looks so pretty in Firefox and Safari, has burst at the seams in IE.</p>
<p>One way you can minimize the pain of coding for IE is to structure the head of your HTML in a way that forces IE to run in standards mode, as opposed to <a href="http://www.quirksmode.org/css/quirksmode.html" target="_blank">quirks mode</a>.</p>
<p>Quirks mode is triggered:</p>
<ul>
<li>when the doc type declaration is missing/incomplete</li>
<li>if it&#8217;s HTML 3 or earlier, or if a system identifier is missing</li>
<li>when a comment or other content appears before doc type</li>
<li>when there are errors anywhere in the document</li>
<li>in IE6 &#8211; when there is an XML declaration before a doc type declaration</li>
</ul>
<p>A <a href="http://www.lynda.com/home/DisplayCourse.aspx?lpk2=52341" target="_blank">tutorial</a> by Bill Weinman on <a href="http://www.lynda.com" target="_blank">lynda.com</a> gives some sample code for the top of your HTML file that will force IE into standards mode:</p>
<p><a href="http://www.lizhargreaves.com/wp-content/uploads/2010/03/code.png"><img src="http://www.lizhargreaves.com/wp-content/uploads/2010/03/code.png" alt="" title="Trigger standards mode" width="578" height="94" class="alignleft size-full wp-image-1443" /></a></p>
<p>If you still trigger quirks mode, check for errors in your HTML using the <a href="http://validator.w3.org/" target="_blank">w3 validator</a>.</p>
<p>Now you should have an error-free, standards triggering page that will render correctly in IE.</p>
<p>But to eliminate any nasty surprises at launch, always check your page. If you are on a Mac, <a href="http://ipinfo.info/netrenderer " target="_blank">IE NetRenderer </a> is a useful resource, though it doesn&#8217;t seem to work for all sites. If IE NetRenderer comes up blank, try <a href="http://browsershots.org/" target="_blank">browsershots</a>. It&#8217;s slow to render, but always gives results.</p>
<p>But for <a href="http://css-tricks.com/internet-explorer-testing-done-right/" target="_blank">&#8220;Internet Explorer Testing Done Right,&#8221;</a> try Parallels, which allows you to run Windows from OS X without rebooting.</p>
<p>Using these tools, you can be certain that all is running well in Internet Explorer land.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lizhargreaves.com/2010/03/05/how-to-make-internet-explorer-behave/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

