浏览器特定的“覆盖挂钩”

发布于 2024-12-29 04:03:07 字数 207 浏览 3 评论 0原文

我在 Firefox(一种符合标准的浏览器,对吧?)中工作,我的页面在 Google Chrome 和 IE 9(不知道 Safari)中看起来不错,但在 Opera 中我的页面的某些方面变得古怪。因此,在 IE 8 到 6 中,我可以使用 [if lte IE8] 标签,但是这些“符合标准”的浏览器(特别是 Opera)有类似的东西吗?是的,我有最新版本的 Opera。

I am working in Firefox (a standards compliant browser, right?), and my page looks fine in Google Chrome, and IE 9 (don't know about Safari), but a few aspects of my page go quirky in Opera. So, in IE 8 thru 6, I can use the [if lte IE8] tags, but is there anything similar for these "standards compliant" browsers (Opera in specific). And yes, I do have the latest version of Opera.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

哭泣的笑容 2025-01-05 04:03:07

条件注释(例如 [if lte IE8])仅适用于 IE,并且要执行任何其他类型的浏览器或功能检测,您将需要 JavaScript。

Conditional comments (e.g. [if lte IE8]) only apply to IE and to do any other kind of browser or feature detection you would need JavaScript.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文