1

我有这个网站...

http://willruppelglass.com/

它在我的机器和我测试过的所有浏览器上看起来都不错,但有人告诉我黑色标题并没有完全消失在标题上。我做错了什么......之前在所有浏览器中右边都有一个很大的空白......所以我改变了这个......

.headerNav {
    color: 
    black;
    margin: 0 auto;
    width: 1280px;
    padding-top: 140px;
    padding-left: 230px;
    }

对此

.headerNav {
    color: 
    black;
    margin: 0 auto;
    width: 1050px; /* decrease the width of the div to compensate for the padding-left */
    padding-top: 140px;
    padding-left: 230px;
    }

但现在标题似乎并没有一直穿过

有问题的浏览器是 Safari 5.1.5。

任何帮助将不胜感激,感谢提前,J

这是我正在处理的屏幕截图... 在此处输入图像描述

4

1 回答 1

0

1 rep says that he is shrinking the browser smaller than 1050px and then scrolling to the right, which is something that is not fixable (the width of <body> cannot be larger than the viewport). The same thing happens with the background for the header and footer of Stack Overflow.

于 2012-05-07T19:00:39.743 回答