我在我的网站上设置了背景图片,在某些浏览器中,背景图片中出现了灰色块。我该如何解决这个问题?
网站: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;
}
答案 0 :(得分:0)
如果您的意思是bg图像右侧和左侧的灰色...那么您可以将其从正文{css文件中删除。
body {background-color:#595959; ...... }
是
body {background-color:#ffffff; ..... }