How to set document mode to Edge in IE11 Win8.1

diedie2

The last year, I've created some html5 (with some php in, but that's not relevant I think) websites and everything went well in Internet Explorer 10, Chrome, Firefox....

But last week, my boss orderd a new pc with Windows 8.1 on it, and ofc. IE 11, and all my websites look ugly. I checked with F12 tools and on the emulation tab, it says Documentmode = 7 (default). If I change it to Edge, everything shows as it should be....but after a refresh it just jumps back to 7.

I always used <!DOCTYPE html> on top of my pages and always worked in the past. But now, IE11 on win8.1 seems to ignore it. The reason why I think it's Windows 8(.1) only is because I have also IE11 installed, but on a Windows7 PC. I double checked and there are no websites added to the list for compabilityview on both PC's

After some searching I found <meta http-equiv="X-UA-Compatible" content="IE=edge" /> and it works!

But I can't find anywhere why it is like this and if there is another solution instead of opening every page of every website I've created and adding the meta-tag...

My first question here, hope I did well :-)

Olly Hodgson

Where is the site being served from? Is it on your local network/intranet? I seem to remember that IE defaults to compatibility mode for sites in the "Intranet Zone". So this shouldn't happen to users accessing it from the outside world. See http://msdn.microsoft.com/en-us/library/jj676914%28v=vs.85%29.aspx

You can send X-UA-Compatible as a server header, instead of changing every page of every site. See http://msdn.microsoft.com/en-us/library/jj676913%28v=vs.85%29.aspx

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

How to bring back "Browser mode" in IE11?

From Dev

JQuery tablesorter pager plugin doesn't work properly with IE11 in Edge mode

From Dev

Set IE11 compatibility mode via HTML

From Dev

How to set IE11 default emulating Core

From Dev

IE11 developer tools - document mode and user agent string are blank

From Dev

No Bottom Scroll Bar on Native Mode SSRS 2012 with IE11 (IE5 document mode)

From Dev

How to set input text color, but not placeholder color, in IE11

From Dev

IE 11 document mode by default

From Dev

1 pixel difference between IE11 and IE8

From Dev

Can you detect "Tablet Mode" in Edge and IE11 using JavaScript on Windows 10?

From Dev

Site broken IE11 in windows 8 - goes to Enterprise mode

From Dev

IE11 Edge mode - Sarissa.js

From Dev

Does IE11 auto update to Edge?

From Dev

1px dotted border render in IE11/Edge

From Dev

Displaying Blob PDF in Edge/IE11

From Dev

How do some sites automatically open in Edge when tried to open in IE11?

From Dev

EmulateIE7 mode set in IIS7/web.config does not show page in proper mode in IE11

From Dev

compatibility mode in IE11

From Dev

Set IE11 compatibility mode via HTML

From Dev

IE11's Document Mode drop down is disabled. Is there any way to enable it?

From Dev

IE11 emulates IE7 even though it's set to EDGE

From Dev

No Bottom Scroll Bar on Native Mode SSRS 2012 with IE11 (IE5 document mode)

From Dev

IE 11 document mode by default

From Dev

IE11 Edge mode is not working by default (Included meta tags and doctype)

From Dev

Document mode deprecated in IE 11 and checklist?

From Dev

1 pixel difference between IE11 and IE8

From Dev

How to remove default border radius from IE11/Edge on Select tag

From Dev

How to enable IE mode in Edge browser (Version 83.0.478.61 and up) for a site?

From Dev

How run IE in edge mode without devtools?

Related Related

  1. 1

    How to bring back "Browser mode" in IE11?

  2. 2

    JQuery tablesorter pager plugin doesn't work properly with IE11 in Edge mode

  3. 3

    Set IE11 compatibility mode via HTML

  4. 4

    How to set IE11 default emulating Core

  5. 5

    IE11 developer tools - document mode and user agent string are blank

  6. 6

    No Bottom Scroll Bar on Native Mode SSRS 2012 with IE11 (IE5 document mode)

  7. 7

    How to set input text color, but not placeholder color, in IE11

  8. 8

    IE 11 document mode by default

  9. 9

    1 pixel difference between IE11 and IE8

  10. 10

    Can you detect "Tablet Mode" in Edge and IE11 using JavaScript on Windows 10?

  11. 11

    Site broken IE11 in windows 8 - goes to Enterprise mode

  12. 12

    IE11 Edge mode - Sarissa.js

  13. 13

    Does IE11 auto update to Edge?

  14. 14

    1px dotted border render in IE11/Edge

  15. 15

    Displaying Blob PDF in Edge/IE11

  16. 16

    How do some sites automatically open in Edge when tried to open in IE11?

  17. 17

    EmulateIE7 mode set in IIS7/web.config does not show page in proper mode in IE11

  18. 18

    compatibility mode in IE11

  19. 19

    Set IE11 compatibility mode via HTML

  20. 20

    IE11's Document Mode drop down is disabled. Is there any way to enable it?

  21. 21

    IE11 emulates IE7 even though it's set to EDGE

  22. 22

    No Bottom Scroll Bar on Native Mode SSRS 2012 with IE11 (IE5 document mode)

  23. 23

    IE 11 document mode by default

  24. 24

    IE11 Edge mode is not working by default (Included meta tags and doctype)

  25. 25

    Document mode deprecated in IE 11 and checklist?

  26. 26

    1 pixel difference between IE11 and IE8

  27. 27

    How to remove default border radius from IE11/Edge on Select tag

  28. 28

    How to enable IE mode in Edge browser (Version 83.0.478.61 and up) for a site?

  29. 29

    How run IE in edge mode without devtools?

HotTag

Archive