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
Choose the Compatibility View Settings option.
On the Compatibility View Settings dialog uncheck the Display intranet sites in Compatibility View checkbox.
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 :-)
Next entry: Keep your World of Warcraft account from being hacked – Some tips to keep your WoW account safe
Previous Entry: A way to return a permanent 301 redirect result in ASP.NET MVC - RedirectResult returns a temporary 302 redirect
Latest entries:
Create absolute URLs using ASP.NET MVC
My Links
Tags
Follow me
About
Powered by FoxBlog
Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2011, Nathan Fox