I have a page that works great on localhost
, however when I push it out to our staging servers and load it up in IE8, it looks like garbage. Even more so than pages usually look in IE. I've traced this down to the fact that the page is rendering in compatibility mode. If I hit F12, I see:
If I go click on Browser Mode and manually change that to Internet Explorer 8, the page is reloaded in its beautiful mediocrity. However, I can't ask all the users to mess with the Developer Tools.
Is there a way to force the page to render in IE8 Standards Mode? My DOCTYPE looks like:
<!doctype html>
And the HTTP headers in the response are:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Tue, 26 Feb 2013 21:56:29 GMT
Content-Length: 6249
Any ideas?
Update: My Compatibility View Settings are as follows, but note I can't ask users to change settings to use our site.