【问题标题】:Random space beneath website footer网站页脚下方的随机空间
【发布时间】:2012-10-10 21:59:09
【问题描述】:

谁能解释本网站页脚后面的随机空白 (http://rasa-wakefield.org.uk/wp/)?

谢谢

【问题讨论】:

  • 想详细说明一下?哪个浏览器?你说的随机是什么意思,它只是偶尔发生吗?在最新的 Chrome 中看起来不错。
  • 随机,我没有故意编码。我在 Firefox 和 Chrome 上见过它,它总是在那里

标签: css wordpress whitespace margin


【解决方案1】:

只需将#foot 设置为height: auto; 即可。或者只是删除高度。

【讨论】:

    【解决方案2】:

    在您的 CSS 文件 (http://rasa-wakefield.org.uk/wp/wp-content/themes/rasa/css/css.css) 中,您有:

    #footer {
        background-color: #526b7f;
        color: #FFF;
        border-top: 5px solid #123056;
        height: 200px;
        width: 1000px;
        margin-left: -20px;
    }
    

    #foot {
        clear: both;
        height: 200px;
        background-color: #526b7f;
    }
    

    那些“高度:200px”是原因。

    【讨论】:

      猜你喜欢
      • 2018-02-07
      • 2018-02-20
      • 2017-04-08
      • 2019-03-17
      • 2018-12-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多