我如何移除神秘的空白?

时间:2022-11-17 06:09:04

This is a very puzzling problem for me.

这对我来说是个令人困惑的问题。

If you visit this site on Safari there'll be added an extra 4-500px scrollable whitespace. Obviously it's not supposed to be like this, but I can't seem to grasp what creates this space :S

如果您在Safari*问这个站点,将会增加一个4-500px的可滚动空格。显然它不应该是这样的,但我似乎无法理解是什么创造了这个空间:S。

Inspecting reveals nothing to me, as it seems to be a part of the body, but there's no content in it, so why would it create the space?

检查对我来说没有什么意义,因为它似乎是身体的一部分,但是里面没有内容,那么它为什么要创造空间呢?

If anyone could be able to help me that'd be great :)

如果有人能帮我,那就太好了

2 个解决方案

#1


4  

Add to your .shiftnav-wrap class

添加到.shiftnav-wrap类。

height: auto;

Or add to your wrapper id

或者添加到包装器id

#wrapper {
  height: auto;
}

On your style.css

在你style.css

#2


1  

Try this for your body on the CSS

在CSS中为您的身体尝试这个

body{
    height: auto;
}

#1


4  

Add to your .shiftnav-wrap class

添加到.shiftnav-wrap类。

height: auto;

Or add to your wrapper id

或者添加到包装器id

#wrapper {
  height: auto;
}

On your style.css

在你style.css

#2


1  

Try this for your body on the CSS

在CSS中为您的身体尝试这个

body{
    height: auto;
}