Please let me know why there is lot of white space below the page content and also why horizontal scroll bar is displayed. Attaching link to zip folder below. Unzip and open index.html.
link text
div#content { margin: 3px 3px 3px 188px; background: rgb(255, 255, 255) none
repeat; min-height: 392px; }
在
中。
div#container { margin: auto; padding: 10px; background: rgb(255, 255, 255)
none repeat; position: relative; min-height: 400px;
max-width: 100%; min-width: 750px; }
水平滚动条显示的原因是内容右侧添加了188像素。当然,它们必须保留:不要移除它们。
在你的css规则中给
添加overflow:hidden
;
更普遍地说,您可能希望遵循“使用CSS进行渐进增强”最佳实践,并将CSS规则分为几个文件(直到实际部署到生产环境,您可以将所有CSS规则重新组合并压缩为一个紧凑的文件)。