浏览器特定的“覆盖挂钩”
我在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
条件注释(例如 [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.