<分区>
<分区>
我在我的网站上设置了背景图片,在某些浏览器中,背景图片中有灰色 block 。我该如何解决这个问题?
网站:http://haptotherapiemris.nl/
这是我的 Css 代码:
.main {
margin: 0 auto;
background: transparent url(http://dansolution.nl/klanten/background/bg.jpg) repeat-y center top;
width: 1000px;
min-height: 1000px;
text-align: center;
background-repeat: no-repeat;
background-attachment: fixed;
}
最佳答案
如果您指的是 bg 图片左右两侧的灰色...那么您可以将其从 body { css 文件中删除。
body {background-color:#595959; ...... }
成为
body {background-color:#ffffff; ..... }
关于html - 背景图像中的灰色 block ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19478180/
相关文章:
css - 位置 :absolute for footer not working as expecting
html - 为什么我在集成 Facebook Open Graph 时收到错误 "Required Property Missing"?
javascript - 如何为可滚动的 div 标签添加拉伸(stretch)效果
javascript - handlebars js 将 map 打印为表格
javascript - CSS3 动画 -> 重新调用失败
css - 如何设计以页面可见部分为中心的 float 确认对话框的 CSS?