Firefox背景图像怪异

时间:2013-04-10 19:16:43

标签: css firefox cross-browser

Firefox并不像IE,Chrome或Safari那样解释我的背景标题图片。那是为什么?

页面:http://wlvrtn.com/sites/nms/page.php 应该如何看待:http://cl.ly/OCbp

HTML:

<header class="banner banner-1">
   <h1>About Us</h1>
</header>

CSS:

.banner {
position: relative;
text-align: center;
overflow: hidden;
height: 229px;
padding-top:105px;
z-index: 0;
width: 100%;
margin: 0 auto;
background-color: #8ab2a9;
background-repeat: no-repeat;
background-position-x: center;
background-position-y: bottom; 
}

.banner-1 {
background-image: url(../images/banners/banner-01.jpg);
}

1 个答案:

答案 0 :(得分:3)

添加

.banner-1 { background-position: center bottom;}

它应该有用。