Internet Explorer的行为为Mozilla Firefox或Chrome [英] Internet Explorer behavior as Mozilla Firefox or Chrome
问题描述
有没有解决方案,让Internet Explorer的行为像Firefox或Chrome?我正在寻找一个不使用css hacks的解决方案。我的意思是可能有一些脚本强制改变IE的所有行为。
Is there a solution to get Internet Explorer to behave as Firefox or Chrome? I am looking for a solution that would not use css hacks. I mean maybe some scripts to force change all behavior of IE.
非常感谢。
推荐答案
您可以让用户下载并安装 Google Chrome浏览器内嵌框架,然后添加此元根据 Chrome内嵌框架开发人员指南为您的专页标头加上标记:
You can have your users download and install Google Chrome Frame, then add this meta tag to your page head per the Chrome Frame developer guide:
<meta http-equiv="X-UA-Compatible" content="chrome=1">
当然,这需要用户操作。您无法控制用户使用的浏览器,也不能通过您自己的代码强制某个浏览器充当另一个浏览器。
Of course, this requires user action. You can't control what browser your users use, nor can you force a certain browser to act like another browser through your own code alone.
这篇关于Internet Explorer的行为为Mozilla Firefox或Chrome的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!