title: IE Document Mode has different defaults on different servers
body: <p>I am developing an HTML application and I was originally targeting IE7 because half of the company still had that particular version. They just upgraded to IE8 this week and I'm trying to get rid of any IE7 specific code.</p>
  
  <p>One thing I noticed while using the IE developer tools is that when I view the home page on my local server, the Document Mode is set to IE8 Standards. If I view the same exact code base on my test server, it defaults to IE7 standards:</p>
  
  <p>This is what I see when I look at developer tools on each server:</p>
  
  <p><strong>http://localhost:12345/</strong><br>
  Browser Mode: IE8<br>
  Document Mode: IE8 Standards (Page Default)</p>
  
  <p><strong>http://webtest01/</strong><br>
  Browser Mode: IE8 Compat View<br>
  Document Mode: IE7 Standards (Page Default)</p>
  
  <p>What is causing them to be different on different servers?</p>
  
  <p><strong>EDIT</strong><br>
  I think it is because Internet Explorer has a setting to display Local Intranet sites in Compatibility View. Is there a tag I can use to override this for my site?</p>