<meta http-equiv="X-UA-Compatible" content="IE=edge">不适用于 IE9 [英] <meta http-equiv=“X-UA-Compatible” content=“IE=edge”> is not working with IE9

查看:45
本文介绍了<meta http-equiv="X-UA-Compatible" content="IE=edge">不适用于 IE9的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次当我打开一个包含 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 的页面时,页面突然停止并且它说页面没有响应,你知道在我可以从 IE6 到 IE10 使用的页面中关闭兼容模式的替代方法吗?

Every time when I open a page that has the <meta http-equiv="X-UA-Compatible" content="IE=edge">, the page stops suddenly and It says that the page is not responding, do you know an alternative way to turn the compability mode OFF in the pages that I can Use from IE6 to IE10?

推荐答案

希望对你有帮助

  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->


    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

这篇关于&lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;不适用于 IE9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆