【发布时间】:2016-08-06 21:49:22
【问题描述】:
所以我在网站底部有空白空间的问题。这是网站:click
网站回购:https://github.com/bdevelops/feditor
我阅读堆栈上的问题,试图找到解决方案,但没有任何效果。
抱歉英语不好,如果是的话。
【问题讨论】:
-
我要看看我的水晶球,一会儿告诉你。
-
你需要澄清你的问题。你知道我们不是魔术师:)
所以我在网站底部有空白空间的问题。这是网站:click
网站回购:https://github.com/bdevelops/feditor
我阅读堆栈上的问题,试图找到解决方案,但没有任何效果。
抱歉英语不好,如果是的话。
【问题讨论】:
在您的 CSS 类中,.box 是 margin-top:30px 或 height:100%。这就是在您的网站底部产生空白的原因
box {
background: #fff none repeat scroll 0 0;
box-sizing: border-box;
height: 100%; **//Set it to "auto"
margin-top: 30px; **//or this one, change it to 0px or remove**
overflow: hidden;
width: 100%;
}
【讨论】: