IE Emulating IE7 in Development Enviroments

I came across an issue today where Internet Explorer was rendering my development environment in IE7 emulation mode.

Turns out this was because I was running the site on http://exampledev (as opposed to http://localhost, what I usually use). Internet Explorer then decides it must be an intranet site (thus assuming it is old) and runs it in compatibility mode.

To disable this behaviour:

  1. Go to the Settings Cog > Compatibility View settings.

    compatview1

  2. Uncheck the “Display intranet sites in Compatibility View”
    compatview2
  3. If you do require some intranet sites to run in Compatibility View, you can add them in the “Add this website” box above.
  4. Click “Close” and the page will automatically reload in the default Edge mode.

More information about Compatibility View from Microsoft here.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s