<?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>Marius van Witzenburg &#187; IE</title>
	<atom:link href="http://mariusvw.com/tag/ie/feed/" rel="self" type="application/rss+xml" />
	<link>http://mariusvw.com</link>
	<description>We fight for our survival, we fight!</description>
	<lastBuildDate>Tue, 27 Dec 2011 10:35:27 +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>How to use Internet Explorer 8 (IE8) compatibility view mode</title>
		<link>http://mariusvw.com/2010/03/29/how-to-use-internet-explorer-8-ie8-compatibility-view-mode/</link>
		<comments>http://mariusvw.com/2010/03/29/how-to-use-internet-explorer-8-ie8-compatibility-view-mode/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 06:50:43 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[Compatibility]]></category>
		<category><![CDATA[Emulate]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[Internet explorer]]></category>
		<category><![CDATA[Meta]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tag]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://mariusvw.com/?p=1515</guid>
		<description><![CDATA[Everybody knows that Internet Explorer can be a bitch... And so for IE8! For the scripts who do not work right yet on IE8 there is a way to put IE8 in compatibility mode so you can view the website in a IE7 sorta like environment. In PHP you have to send the following header, [...]]]></description>
			<content:encoded><![CDATA[<p>Everybody knows that Internet Explorer can be a bitch... And so for IE8!</p>
<p>For the scripts who do not work right yet on IE8 there is a way to put IE8 in compatibility mode so you can view the website in a IE7 sorta like environment.</p>
<p>In PHP you have to send the following header, my advice is to add it to your first index file if you handle everything through this index.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'X-UA-Compatible: IE=EmulateIE7'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Or you can add a header in the HTML head with a meta tag.<br />
Add this right after the &lt;head&gt; tag:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=EmulateIE7&quot; /&gt;</pre></div></div>

<p>In the same way specify IE=5, IE=7, or IE=8 to select one of those compatibility modes. A complete table is given below.</p>
<p><a href="http://kitara.nl/wp-content/uploads/2010/03/modes.gif"><img src="http://kitara.nl/wp-content/uploads/2010/03/modes.gif" alt="" title="Internet Explorer compatibility modes" width="514" height="311" class="aligncenter size-full wp-image-1738" /></a></p>
<p>I hope this makes your life with Internet Explorer a bit easier!</p>
<p>Ps. If you want to break this feature, you could use something like this to force IE to always be compatible:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'X-UA-Compatible: IE=100'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://mariusvw.com/2010/03/29/how-to-use-internet-explorer-8-ie8-compatibility-view-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

