<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Stephen (Steve) Withington - Internet Explorer</title>
			<link>http://www.stephenwithington.com/blog/index.cfm</link>
			<description>Blog Thoughts and Ramblings of a ColdFusion Programmer/Developer</description>
			<language>en-us</language>
			<pubDate>Wed, 08 Sep 2010 08:51:57 -0700</pubDate>
			<lastBuildDate>Thu, 03 Jul 2008 13:40:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>steve@stephenwithington.com</managingEditor>
			<webMaster>steve@stephenwithington.com</webMaster>
			
			
			
			
			
			<item>
				<title>How to Opt-Out of IE8 Standards Mode and Other Useful Internet Explorer Troubleshooting Information</title>
				<link>http://www.stephenwithington.com/blog/index.cfm/2008/7/3/How-to-OptOut-of-IE8-Standards-Mode-and-Other-Useful-Internet-Explorer-Troubleshooting-Information</link>
				<description>
				
				&lt;p&gt;As a web designer/developer, we should strive to make each visitors experience as pleasant as possible. So, whether you like it or not, if you&apos;ve chosen the web designer/developer career, you &lt;em&gt;have&lt;/em&gt; to work with Windows&amp;reg; Internet Explorer&amp;reg; (IE).&lt;/p&gt;
&lt;p&gt; I use &lt;a href=&quot;http://www.microsoft.com/windows/downloads/virtualpc/default.mspx&quot; target=&quot;_blank&quot;&gt;Microsoft&apos;s Virtual PC&lt;/a&gt; to test web site display and functionality on various versions of IE (6, 7 and 8 at the moment). Unfortunately, I was experiencing a display issue only in IE8. Now, I realize the number of people currently using IE8 is extremely small. Soon enough though, there will be tens of thousands of people using it right? I might as well try to correct it now rather than pull my hair out later.&lt;/p&gt;
&lt;p&gt;Rather than go into the display issue itself, I found a very useful technique to opt-out of IE8 standards mode. Or, in regular terms, how to make IE8 display a web page as if it were IE7.&lt;/p&gt;
&lt;p&gt;First, I should explain &lt;em&gt;why&lt;/em&gt; I chose this route. For one thing, it quickly fixed the display issue. Is there a better reason?&lt;/p&gt;
&lt;p&gt;All I had to do was include a simple meta tag to the page(s) where the problem was occurring.&lt;/p&gt;
&lt;code&gt;
&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=7&quot; /&gt;
&lt;/code&gt;
&lt;p&gt;Personally, I like to wrap IE specific tags with a bit of ColdFusion:&lt;/p&gt;
&lt;code&gt;
&lt;cfif cgi.HTTP_USER_AGENT contains &quot;msie&quot;&gt;
	&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=7&quot; /&gt;
&lt;/cfif&gt;
&lt;/code&gt;

&lt;p&gt;The downside to using this technique is that you will &lt;em&gt;not&lt;/em&gt; be able to use the latest rendering features available in IE8. Sniff, sniff (cue smallest violin in the world) &amp;hellip; oh well.&lt;/p&gt;
&lt;p&gt;According to information I found on the &lt;a href=&quot;http://www.microsoft.com/windows/products/winfamily/ie/ie8/readiness/&quot; target=&quot;_blank&quot;&gt;IE8 Readiness Toolkit&lt;/a&gt;, you can also address this on a per-site bases by adding a HTTP header:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt; X-UA-Compatible:IE=EmulateIE7&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Alternatively, you could use a slightly different meta tag on a per-page basis while still accessing &amp;quot;all Internet Explorer 8 has to offer.&amp;quot;&lt;/p&gt;
&lt;code&gt;
&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=EmulateIE7&quot; /&gt;
&lt;/code&gt;
&lt;p&gt;Word of caution here, using the &amp;quot;EmulateIE7&amp;quot; technique &lt;em&gt;did not&lt;/em&gt; fix my display issue though. I ended up using the first technique with &amp;quot;IE=7&amp;quot; to &amp;quot;correct&amp;quot; the problem.&lt;/p&gt;
&lt;p&gt;Here are some other helpful links relating to working with Internet Explorer, IE8 (Beta 1), etc.:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;http://www.microsoft.com/windows/downloads/virtualpc/default.mspx&quot; target=&quot;_blank&quot;&gt;Microsoft Virtual PC 2007&lt;/a&gt;
		&lt;ul&gt;
			&lt;li&gt;Software virtualization tool that allows for running a variety of operating systems (OS) on one machine/PC.&lt;/li&gt;
		&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://www.microsoft.com/windows/products/winfamily/ie/ie8/readiness/&quot; target=&quot;_blank&quot;&gt;Internet Explorer 8 (Beta) Readiness Toolkit&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://www.microsoft.com/windows/products/winfamily/ie/ie8/default.mspx&quot; target=&quot;_blank&quot;&gt;Windows Internet Explorer 8 Beta Download&lt;/a&gt;
		&lt;ul&gt;
			&lt;li&gt;If possible, I would actually recommend using Virtual PC instead&lt;/li&gt;
		&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkID=70868&quot; target=&quot;_blank&quot;&gt;Internet Explorer Application Compatibility Virtual PC (VPC) Image&lt;/a&gt;
		&lt;ul&gt;
			&lt;li&gt;This is a link for the Virtual PC Hard Disk Images for testing web sites on IE (including IE6 XP SP2, IE7 Vista, IE8 XP SP2)&lt;/li&gt;
		&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038&amp;amp;displaylang=en&quot; target=&quot;_blank&quot;&gt;Internet Explorer Developer Toolbar
		&lt;/a&gt;
		&lt;ul&gt;
			&lt;li&gt;A pretty decent tool for discovering web page display issues&lt;/li&gt;
		&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/ie/default.aspx&quot; target=&quot;_blank&quot;&gt;Windows Internet Explorer Developer Center&lt;/a&gt;
		&lt;ul&gt;
			&lt;li&gt;Web Developer Resources pertaining to Internet Explorer (and other web design/development activities)&lt;/li&gt;
		&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<category>Internet Explorer</category>				
				
				<category>Web Usability</category>				
				
				<pubDate>Thu, 03 Jul 2008 13:40:00 -0700</pubDate>
				<guid>http://www.stephenwithington.com/blog/index.cfm/2008/7/3/How-to-OptOut-of-IE8-Standards-Mode-and-Other-Useful-Internet-Explorer-Troubleshooting-Information</guid>
				
			</item>
			
		 	
			</channel></rss>