Force IE compatibility mode off using tags

后端 未结 12 1508
广开言路
广开言路 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

    Insert as the very first item under the tag.

    This forces IE to render the page in the physical version of IE, and it ignores the Browser "Mode setting". This can be set in the developer tools, try changing it to a older version of IE to test, this should be ignored and the page should look exactly the same.

提交回复
热议问题