【问题标题】:Get space between footer and bottom of page blogger获取页脚和页面底部博客之间的空间
【发布时间】:2015-01-19 23:57:38
【问题描述】:

由于某种原因,我的 Blogger 页面不允许我在页脚和页面底部之间创建透明空间。我希望将页脚向上移动(尝试了边距和填充,但没有),以便可以看到大约 10px 的背景,但需要使用什么代码的帮助!请帮忙,谢谢!

博客链接:http://thewordswecarve.blogspot.ie/

【问题讨论】:

    标签: css footer blogger


    【解决方案1】:

    只需将其添加到您的 CSS 中。

    .content-cap-bottom.cap-bottom {
        height: 10px;
    }
    

    这将确保此 div 保持“打开”状态,以便您可以看到它下方的背景。

    【讨论】:

      【解决方案2】:

      在你的 css 表中添加:

      body { margin-bottom: 10px; }
      

      【讨论】:

        【解决方案3】:

        我检查了您的页面并将其添加到.content-inner

        .content-inner {
            margin-bottom:10px;
        }
        

        而且它似乎工作正常。

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2022-01-08
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多