Internet Explorer 8, compatibility view, and the local intranet zone

I recommend

When developing a website on a local machine using localhost or some other non-public domain name, IE 8 will run in Local Intranet Zone mode.  By default, Internet Explorer runs in compatibility view mode against any local intranet website.  So, if your website does not expect to render in compatibility view mode, you may likely see the website render differently if you are running against the same website in Internet zone and Intranet zone.

You can change this setting as follows:

Open the Page drop menu on the IE 8 toolbar

Internet Explorer 8 ToolBar

Choose the Compatibility View Settings option.

Internet Explorer 8 Page Compatibility View Settings

On the Compatibility View Settings dialog uncheck the Display intranet sites in Compatibility View checkbox.

Internet Explorer 8 Compatibility Settings View Dialog

Close the dialog and now any website in the intranet zone will display as you might expect.

Initially when encountering this issue it was very confusing, so hopefully this helps someone figure out the issue more quickly :-)

Technical September 23, 2010

comments powered by Disqus