我有一个位于http://michaelscottweb.com的网站,当浏览器高于大约450px时,它具有100%宽度的容器和元素。当您将浏览器缩小到980像素以下并向右滚动时,身体上会出现大约20像素的空白。当您在该分辨率上方查看网站时,不会发生这种情况。有谁知道什么时候引起这个变化?100%宽度的身体元素右侧的空白处
CSS。
body {
line-height: 1;
overflow-x:hidden;
max-width:100%;
-moz-font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
background: #fff;
color: #555;
font-family: 'EBGaramondRegular';
font-size: 15px;
font-smoothing: antialiased;
line-height: 1.5em;
text-rendering: optimizeLegibility;
}
当我使用您提供的链接时似乎很好。 – 2013-02-13 01:45:57
什么是巧合,我目前正在建设dwightschruteonline.com – zeebonk 2013-02-13 01:47:15