Internet Explorer 9 rendering as IE7 for localhosts

MeganCM

Bit poster
I have Windows 7 running on Parallels 7 on my Mac which is running Lion. I set up Parallels to view my Mac localhost websites (via editing the hosts file).

The strangest thing is happening though, when I view a local site in Internet Explorer 9, the browser actually renders as IE7 (I can tell because it is displaying CSS from my IE7 stylesheet via a conditional statement). When I view the same site/code running on a non-local web server, it renders normally as IE9. I have never had this problem on previous versions of Parallels. Has anyone seen this before or have any ideas as to what might be causing this issue? I can't figure out if it's an issue with Parallels, IE, Windows, or my Mac.
 
Ok, I figured it out. In case anyone else has this problem:

1. Open Internet Explorer
2. Hit the ALT key
3. Go to Tools > Compatibility View Settings
4. Uncheck "Display intranet sites in Compatibility view"

Apparently Compatibility View renders sites as IE7 instead of 9. Who knew?
 
Back
Top