问题描述
我为我的公司建立一个Wordpress博客,我选择了一个主题,我认为会很好地与我们的业务。我已经添加了小部件区域到页脚,以方便轻松定制。当页面加载时,页脚下方有一个奇怪的空白,但这只会发生在IE。在Chrome中,当我在底部并刷新页面时,我可以看到空白区域,但是一旦页面加载,它就会消失。页面在除IE之外的所有内容中都正确呈现。
I am building a Wordpress blog for my company and I picked a theme I thought would go well with our business. I have added widgetized areas to the footer to facilitate easy customization. When the page loads, a weird white space is below the footer, but this only happens in IE. In Chrome, when I am at the bottom and refresh the page, I can see the white space, but it disappears as soon as the page loads. The page renders correctly in everything but IE. Any help getting rid of this would be greatly appreciated.
这里是。
推荐答案
您可以尝试几种方法。
-
从
.fb_reset中移除
类,因为line-height:1
#fb-root
div本质上是empy,所以不应该渲染—
Remove the
line-height: 1
from the.fb_reset
class, because the#fb-root
div is essentially empy this shouldn't render — however IE might get confused.
向添加
和 overflow:hidden
#footer #container
元素。
Add an overflow: hidden
to your #footer
and #container
elements.
这篇关于白色空间下面的页脚只有在IE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!