白色空间下面的页脚只有在IE [英] White space below footer only in IE

查看:100
本文介绍了白色空间下面的页脚只有在IE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为我的公司建立一个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.

这里是 blog

推荐答案

您可以尝试几种方法。


  1. .fb_reset中移除 line-height:1 类,因为#fb-root div本质上是empy,所以不应该渲染—

  1. 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆