繁体   English   中英

Firefox背景图片怪异

[英]Firefox Background Image Weirdness

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);
}

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

它应该工作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM