【问题标题】:empty space above content in google chrome and IE谷歌浏览器和 IE 内容上方的空白区域
【发布时间】:2012-11-05 15:01:43
【问题描述】:

我们用drupal 开发了一个网站。除了一页,一切都很好。在 chrome 和 IE 中的内容上方有一个空白区域。在 Firefox 中它运行良好。下面是网址

http://www.infronics.com/news-room/news-events

请帮我解决问题

【问题讨论】:

  • 现在不是 1998 年。请停止使用表格进行布局。谢谢!

标签: php css drupal


【解决方案1】:

这与您的.sidebar1 div 有关。它隐藏在您的内容后面,但仍占用空间。我的猜测是因为您几乎所有的父 div 上都有 display:table 或 display:table-row。

【讨论】:

    【解决方案2】:

    似乎有一个名为 .sidebar1 的 div 占用了所有空间。

    http://cl.ly/image/30252D011p20

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-08-25
      • 2017-03-11
      • 2013-06-16
      • 2016-11-19
      • 1970-01-01
      • 1970-01-01
      • 2012-08-22
      相关资源
      最近更新 更多