[英]Supersized JQuery plugin displaying below content on IE9
我正在使用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%;
有誰知道如何糾正這個問題?
好的-似乎我正在使用的CMS(ModX Revo)預裝了錯誤的(或沒有)DOCTYPE。
我已經添加
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
對於我的模板(在<html>
上方)標簽,看起來還可以!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.