Ever had a site that you created and works in modern versions of IE but for some reason when viewed in them it defaults to quirks mode? I have and wished that I could disable it from going to quirks mode. In my tests the following code forces IE to display in it’s native mode(for that browser), effectively disabling quirks mode. I’ve only done a few tests but, so let me know if it works for you.
<meta http-equiv=”X-UA-Compatible” content=”IE=9″ />
Recently I have also been working on some projects and have tested them on IE9. I have found that local/intranet sites by default will display in compatability mode for some reason. Once the site is live however this will not happen. To turn off this default behaviour in IE9, hit alt then go to tools -> compatibility view settings, then untick “display intranet sites in compatibilty view”.
If your still stuck check out the following flow chart to see how IE9 handles compatibility view.
Thanks a lot it fixed my problem
Thanks a lot the meta code solved my issue in ie
Thank you thank you! I had an odd issue where ColdFusion server writes its own script blocks preceding the !DOC declaration forcing quirks mode. This compat fixed it! Thanks!
-w
Thank you!!
It helped me a lot.
Thanks a lot. This saved my day.
did not solve the issue in my case :'(
Nice solution anyway 🙂
Awesome…. its working :)… Thank you so much 🙂