I need to force both the browser mode and document mode of my IE 9 to IE 9. Now, I've set "X-UA-Compatible" to "IE=9" in the tag of my header, but it has no effect when I change the document mode to either IE 7 / IE 8.
My site is to be compatible only with IE 9 and not with any other versions of IE. Furthermore, I looked through and studied most questions answered here and through blogs (msdn) but nothing seems to be working for me (Before the moderators close this as a duplicate question). Can any one of you guide me about the same ?
Change the Document Mode to Internet Explorer 9 Standards and try to view the content again. To change the Document Mode, press F12, click Document Mode: , and then select Internet Explorer 9 Standards."
Open the registry editor using regedit.exe and follow the below mentioned paths to find the configuration in registry. Delete the REG_DWORD value iexplore.exe. Now close the browser and relaunch the website using Internet Explorer 11, it will default to Edge as Document Mode. Highly active question.
IF you have set up the (X-UA..") tags already then that should force it into the appropriate Document Mode and Browser Mode.
It looks like you're setting the document mode in the IE dev tools console, this overrides it whatever you put in as tags.
This diagram explains how IE determines what modes to display in and the dev toolbar takes priority.
Edit/Update
Unfortunately it seems the above link got taken down. For now here is an alternative
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