javascript - Black space after HTML ends
问题描述
So , I have gotten a ticket from a client saying that he has some extra space after the footer end,i looked into it and it's true,basically,after the HTML ends there are a good few scrolls of plain black space. I tried giving the html doc a height of 100% and body a min-height:100% ,but it doesn't work.
解决方案
似乎overflow
是div class="page-width"
导致footer class="site-footer"
此问题的原因。设置 css 属性overflow: hidden;
以解决问题。
实施的变化:
.page-width {
overflow: hidden;
max-width: 1180px;
margin: 0 auto;
padding: 0 10px;
}
推荐阅读
- python-2.7 - Python - AttributeError:“DataFrame”对象没有属性
- oracle - 查询适用于 oracle 12c,但不适用于 11g
- javafx-3d - 为什么这些 JavaFX TriangleMesh 渲染时带有暗影伪影?
- java - 实体中的继承
- php - Laravel 重定向时没有消息错误
- javascript - Update the heatmap based on the selected data
- image - vis.js 网络 - 如何创建里面有图片的正方形?
- python - 如何有效地查询大型 LDIF 文件?
- html - CSS first-of-type 适用于所有
- gitlab - 如何回滚到以前版本的 Gitlab