谷歌浏览器中的浏览器兼容性问题? [英] browser compatibility issue in google chrome?
本文介绍了谷歌浏览器中的浏览器兼容性问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我的网站上有浏览器兼容性问题。
它说的那一刻,IE和Mozilla firefox工作正常。
但谷歌浏览器不支持浏览器兼容性。
我在我的网站上给出了以下代码。
< meta http-equiv = X-UA-兼容 内容 = IE = EmulateIE7 / >
所以请您查看上面的评论。
问候,
stellus。
解决方案
首先要做的事情 - X-UA兼容是一个IE唯一的元标记,所以没有理由让Chrome支持它!
更多!设计具有这种浏览器兼容性的网页是一种非常糟糕的做法 - 微软羞于提及它...
使用浏览器功能检查你的网页...
Javascript - 浏览器兼容性 [ ^ ]
jQuery.browser [ ^ ]
试试这个元标记
< span class =code-keyword>< meta http-equiv = X-UA兼容content = IE = edge,chrome = 1 / > 跨度>
Hi all,
i have a browser compatibility issue on my website.
the moment it stating that, IE and mozilla firefox working fine.
but google chrome doesn't support browser compatibility.
i have given the below code in my website.
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
so please have you look at the comments above.
regards,
stellus.
解决方案
First things first - X-UA-Compatible is an IE only meta-tag, so no reason to Chrome to support it!
More! It's an extremely bad practice to design web pages with that kind of browser compatibility - shame on Microsoft to mention it at all...
Use browser capability check for you web pages...
Javascript - Browsers Compatibility[^]
jQuery.browser[^]
try this meta tag
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
这篇关于谷歌浏览器中的浏览器兼容性问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文