I've set up IIS6 to send the following headers
Custom Header Name: X-UA-Compatible
Custom Header Value: IE=EmulateIE7
that supposed to force IE 8 into IE 7 Compatibility mode. You can read more about it on MSDN .
I have noticed by looking in the Developer toolbar that if I have a DTD defined the document mode correctly gets set to IE 7, but the browser mode is IE 8. If the page doesn't have a DTD the document mode gets set to Quirks and Browser Mode once again IE 8.
Am I doing something wrong. How do I force IE 8 to set IE 7 Browser mode.
Thanks
I've used this meta tag to force the IE7 mode:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Important: you must put this before any other tags in <head>
!
(actually you might be able to put a <title>
before this, but not putting anything is easier to remember than the specific cases)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With