我正在製作一個Wordpress主題,但是頁腳有點問題。我希望它佔據窗口的100%,但它只佔用1200像素。我不知道爲什麼會這樣。在這裏,您有CSS代碼頁腳CSS問題
#navigationposition {
float:left;
color:#fff;
width: 100%;
height:200px;
position:relative;
bottom:0;
left:0;
background-attachment: fixed;
background-origin: initial;
background-clip: initial;
background-repeat: no-repeat;
background-position: 100% 0;
background-position: center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-image: url("http://www.lasvegasicc.org/wp-content/uploads/2013/08/Las-Vegas-Wallpaper-HD.jpeg");
}
Here's the link to the website
看起來好像沒什麼問題 – vsync
通過檢測器檢測你的頁面。打開和關閉標記時出現不匹配,使頁腳看起來在內容區域內。 –