Override intranet compatibility mode IE8

后端 未结 19 2060
执念已碎
执念已碎 2020-11-22 10:04

By default IE8 forces intranet websites into compatibility mode. I tried changing the meta header to IE8, but it doesn\'t acknowledge the meta header and just uses the brows

19条回答
  •  情深已故
    2020-11-22 10:20

    Change the headers in .htaccess

    BrowserMatch MSIE ie
    Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie
    

    Found the solution to this problem here: https://github.com/h5bp/html5-boilerplate/issues/378

提交回复
热议问题