我的 blog 有问题.
在 firefox 中,网站顶部有一个丑陋的空间,在 chrome 中看不到,我没有摆脱它。 Firebug 无论如何都没有帮助。
这很奇怪:当我更改 <div class="ontop">
的底部边距时,然后出现空格。如果我将它设置为 0,它就消失了!
你能帮帮我吗?谢谢!
最佳答案
在 firefox 中,'margin-bottom: 300pxin .ontop
类存在一些问题。这很奇怪。
设置 height: 100%;
就可以了。并删除上边距。
我认为这是 bug in firefox .
关于html - Bug : Ugly white space on top of my website. 想不通,为什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30497716/