2

How can I test if <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> does work? Especially if I let Apache handle it via htaccess.

Is there something in the IE developer tools?

Paolo
  • 20,112
  • 21
  • 72
  • 113
MrGlasspoole
  • 415
  • 2
  • 4
  • 15

3 Answers3

4

Check it in IE8. If it is not set, Tools > Compatibility View will be usable. If it is set, the option will be grayed out and not usable.

JeffreyPia
  • 416
  • 2
  • 5
  • ah ok now i got what exactly this setting does. It's two in one. The thing is that setting it in the meta tag does not work (don't know why) and that was the reason i did not see a difference. The other problem is that it was not working in the htaccess and was allways giving a 500 error. I figured out now that the htaccess setting works if i don't set "env=ie" at the and of "Header set X-UA-Compatible "IE=Edge,chrome=1". What does this "env=ie" normaly do, cause its not working on my webhost? – MrGlasspoole Jun 01 '11 at 07:28
  • The last sentence of this answer should read: "If it IS set, the option will be grayed out and not usable." – Benjamin Ray Jul 05 '15 at 22:34
  • Thanks @BenjaminRay! Fixed :-) – JeffreyPia Jun 10 '16 at 03:13
1

check the "page default" of document mode, from IE developer tool bar.

Shawn Xue
  • 427
  • 5
  • 7
0

Do you see the "broken" document icon between search and reload icons in the image? This is the Compatibility View button. If the edge value set using the meta tag or htaccess header worked, the Compatibility View button is not shown.

enter image description here

Image courtesy of Frank Code blog; you may also have a read at the post, if you want. It's worth it.

Paolo
  • 20,112
  • 21
  • 72
  • 113