【问题标题】:Drupal 7 page not showing properly in internet explorerDrupal 7 页面无法在 Internet Explorer 中正确显示
【发布时间】:2012-10-18 03:16:45
【问题描述】:

我使用 Drupal 7 (http://quaaoutlodge.com/drupal-7.14/) 设计了一个页面。它在 Firefox 和 Chrome 中看起来很好(我的意思是这样),但在 Internet Explorer(在 WXP 上测试 8.0)中,一切都搞砸了。现在,如果您进入带有子链接的页面,例如 Golf (http://quaaoutlodge.com/drupal-7.14/golf)在 FF 和 Chrome 中看起来都像预期的那样,但在 IE 中,#ContentWrapper div 仅从我的“secondnav”div 的底部开始。为什么是这样?如何获取内容以使内容的顶部与 secondnav 的顶部对齐?

【问题讨论】:

    标签: html css internet-explorer drupal cross-browser


    【解决方案1】:

    好的,同时我已经知道如果我添加

    width:600px;
    

    给我的

    #contentWrapper{
    

    样式定义,内容 div 向上跳跃,其顶部与 secondnav 的顶部对齐,但这不是我想要的。我想将内容保持在 800px 并让它们彼此相邻,有什么提示吗? 谢谢!

    【讨论】:

      【解决方案2】:

      好的,解决了。底层 div #pageBorder 有一个

      margin-left:220px
      

      这会将我的内容推送到 IE 中的下一行,而它在 FF 和 Chrome 中运行良好。嗯,现在修好了…… http://quaaoutlodge.com/drupal-7.14/?q=contact

      【讨论】:

        猜你喜欢
        • 2011-03-31
        • 2011-04-12
        • 1970-01-01
        • 2011-07-28
        • 2012-09-16
        • 2023-03-09
        • 1970-01-01
        • 1970-01-01
        • 2015-01-30
        相关资源
        最近更新 更多