0

如果我在 iphone 上使用 safari浏览此页面,则会出现部分黑屏,这里是错误的屏幕截图:

屏幕

任何想法?可能是因为背景图像的问题吗?

4

2 回答 2

1

Maybe your background image it's not loading on the IPhone. I've tested with my IPad and everything is fine.

Try improving your body css

body {
    font: 14px/16px georgia, times, times new roman, arial;
    background-image: url(http://www.lazzarotto.it/templates/lazzarotto/image/background.jpg);
    background-repeat: repeat-x;
    background-color: #fff;
    padding: 0px;
    margin: 0px;
    color: #554e3c; 
}

to

body {
    font: 14px/16px georgia, times, times new roman, arial;
    background: url(http://www.lazzarotto.it/templates/lazzarotto/image/background.jpg) #fff repeat-x;
    padding: 0px;
    margin: 0px;
    color: #554e3c; 
}
于 2012-12-06T15:28:18.613 回答
0

您也可以选择CSS3 Gradient来实现渐变背景效果

于 2012-12-24T11:05:35.760 回答