【问题标题】:IE conditional comments working but tags visible?IE 条件注释有效但标签可见?
【发布时间】:2011-11-23 16:25:06
【问题描述】:

我在我的<head> 中链接了宏伟的HTML5 javascript shim

它工作正常除了它在页面顶部显示标签即:

<!--[if lt IE9]> <![endif]-->

当我查看源代码时,它看起来非常漂亮和漂亮。我完全不知道发生了什么!!!

【问题讨论】:

    标签: internet-explorer conditional-comments


    【解决方案1】:

    IE9 之间添加一个空格。

    【讨论】:

    • 我遇到了同样的问题,因为我输入的是 if le IE 8 而不是 if lte IE 8
    猜你喜欢
    • 2011-06-02
    • 2014-11-24
    • 2016-07-22
    • 2011-02-04
    • 1970-01-01
    • 2012-05-23
    • 2011-10-30
    • 2014-06-21
    • 2012-04-26
    相关资源
    最近更新 更多