Force IE compatibility mode off using tags

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

    The meta tag solution wasn't working for us but setting it in the response header did:

    header('X-UA-Compatible: IE=edge,chrome=1');
    

提交回复
热议问题