【问题标题】:Supersized JQuery plugin displaying below content on IE9在 IE9 上显示以下内容的超大 JQuery 插件
【发布时间】:2013-01-30 03:04:42
【问题描述】:

我正在使用 Supersize 插件,它在 Chrome、FF 和 Safari 上运行良好,但在 IE9(以及 8 和 7)上却无法正常运行。

背景图片出现在我的内容下方,而不是在其后面。

在此处查看网站:http://host.pixelframe.net.au/~pptestco/

我认为这应该是一个 css 修复,因为超大图像位于 ul 中所有其他内容的下方,样式如下:

display: block;
position: fixed;
left: 0;
top: 0;
overflow: hidden;
z-index: -999;
height: 100%;
width: 100%;

有人知道如何解决这个问题吗?

【问题讨论】:

    标签: javascript jquery css jquery-plugins supersized


    【解决方案1】:

    好的 - 我使用的 CMS (ModX Revo) 似乎预加载了错误(或没有)DOCTYPE。

    我已经添加了

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    

    到我的模板(&lt;html&gt; 上方)标签,看起来没问题!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多