Force IE compatibility mode off using tags

后端 未结 12 1383
广开言路
广开言路 2020-11-22 07:56

I am doing work for a client who forces compatibility mode on all intranet sites. I was wondering if there is a tag I can put into my HTML that forces compatibility mode off

12条回答
  •  既然无缘
    2020-11-22 08:33

    This is due to the setting within IE Compatibility settings which says that all Intranet sites should run in compatibility mode. You can untick this via a group policy (or just plain unticking it in IE), or you can set the following:

    
    

    Apparently it is not possible to change the compatibility view settings as a group policy but it is something that can perhaps be changed in the registry, this meta tag works fine for me, I had to make the required attribute work as part of a html form, it worked in chrome and firefox but not IE.

    Here is a nice visual of what browsers support each individual html 5 element.

    http://html5readiness.com/

    Notice the one common denominator Google Chrome, it supports everything. Hope this is of help

提交回复
热议问题