当我在我的平板电脑上访问我的网站时,背景在页脚停止显示之后?当我缩小窗口大小时,它在我的桌面上的行为不像这样。背景图片没有覆盖在平板电脑上
这是网站:http://www3.carleton.ca/clubs/sissa/html5/video.html
CSS:
body{
width: 100%; /*always specify this when using flexBox*/
height:100%;
display: -webkit-box;
display: -moz-box;
display: box;
text-align:center;
-webkit-box-pack:center; /*way of centering the website*/
-moz-box-pack:center;
box-pack:center;
background:black;
background:url('images/bg/bg14.jpg') no-repeat center center fixed;
-webkit-background-size: cover !important;
-moz-background-size: cover !important;
background-size: cover !important;
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
}
这是它看起来像我的Nexus 7:
当我使用不同的用户代理浏览器它涵盖了整个背景:
HTML:
<!--Site Main Body-->
<div id="wrapper">
<section id="body_div">
</section>
<footer id="footer">
© Copyright by SimKessy
</footer>
</div>
</body>
</html>
没有工作。在页脚下我仍然是白色的。 – Batman 2013-04-06 02:20:34