Solved

IE Document mode

Posted on 2013-12-16
3
610 Views
Last Modified: 2013-12-17
Hi Experts,
I'm having a weird issue with our webapp.  In IE, when I go to F12 view for emulation - as I switch pages in our webapp, I can see the document mode changing its default value for that page.  One particular page is changing on my browser to IE7 (where JSON is not even defined), so the page is broken for me.  But my colleagues IE version does not do this on the same page... How can I find what is in the same page but causing my IE to change document mode?

Thanks!
Mike
0
Comment
Question by:thready
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 75

Assisted Solution

by:Michel Plungjan
Michel Plungjan earned 250 total points
ID: 39723528
1) make sure you have the correct doctype
2) go to tools, compatibility view settings and make sure the URL is not in the list
0
 
LVL 16

Accepted Solution

by:
hankknight earned 250 total points
ID: 39723799
Internet Explorer has an undesirable "feature" called "Compatibility Mode" which can cause newer versions of Internet Explorer to act like older versions of Internet Explorer.

Read this:
http://blogs.msdn.com/b/askie/archive/2009/03/23/understanding-compatibility-modes-in-internet-explorer-8.aspx

This might help:

### 1 ###
Send X-UA-Compatible: IE=edge as an HTTP header.   If you are using PHP you  can try this:
<?php header('X-UA-Compatible: IE=edge'); ?>

Open in new window

 ### 2 ###
Add this code immediately after your <head> tag:
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> 

Open in new window

0
 
LVL 1

Author Closing Comment

by:thready
ID: 39724301
Thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help with mod_substitute 18 35
Table style position to the left 8 24
Problem Loading Chrome 6 34
Increase image taller on inner pages 2 11
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This video teaches users how to migrate an existing Wordpress website to a new domain.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question