0

我使用以下 CSS 进行背景设计,它适用于所有浏览器,但 Safari 不显示背景颜色和图像。我错过了什么吗?

background: url("https://xyz.xyz.com/src/images/HeaderBackground.png") repeat-x scroll 0 0 / 200px 94px #E2DDD5;

请给我建议。。

4

1 回答 1

1
.background{
    background: url(images/background.png);
    background-repeat:repeat;
    width:500px;
    background-color:#E2DDD5;
    overflow-x:scroll;
    background-position:200px 94px;
    }

此代码在 safari 中运行。我对你有用。

于 2013-11-13T05:53:01.007 回答