我正在制作一个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
通过检测器检测你的页面。打开和关闭标记时出现不匹配,使页脚看起来在内容区域内。 –