1

In our application we are using <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> as the first line of code inside <head>tag. In Local and QA it is working fine, but when we try to open PROD in IE we are facing some problem - it is opening in document mode 7. In IE EDGE it is working fine, we are facing this issue in IE 11.

What might be the problem?

Mahesh Narayanan
  • 123
  • 5
  • 21

1 Answers1

0

If:

  • The production environment is in the Intranet zone (right-click and then choose Properties), and
  • The page does not contain a <!DOCTYPE> directive, and
  • The Default settings have not been changed

(Other factors may also be involved.)

Then, the page is likely loading in IE7 Compatibility mode by design.

If you cannot change the page to include the HTML5 doctype directive (<!DOCTYPE html>), then you might see if the web server can serve the x-ua-compatible header with the page.

Community
  • 1
  • 1
Lance Leonard
  • 3,285
  • 3
  • 16
  • 15