【问题标题】:Make the footer stick at the bottom of the page让页脚贴在页面底部
【发布时间】:2011-06-09 16:55:39
【问题描述】:

这里是网站(用 Wordpress 制作):http://milabalami.com 我想让页脚贴在页面底部。我如何做到这一点的任何解决方案?我已经尝试过 cssstickyfooter.com 和 xs4all.nl/~peterned/examples/csslayout1.html,但没有一个按我的意愿工作。发生的情况是页面主体与页脚重叠。

过去两天我一直在纠结这个问题,但我迷路了。有没有人能解决这个难题?

【问题讨论】:

标签: css wordpress footer sticky-footer


【解决方案1】:

我一直用footerStickAlt,详细在这里:http://www.themaninblue.com/writing/perspective/2005/08/29/

【讨论】:

    【解决方案2】:

    在页脚元素上尝试position: fixed;。这就是你要找的吗?

    【讨论】:

      【解决方案3】:
      【解决方案4】:

      您是否在footer 的样式中使用z-index
      它会使footer 出现在前面,因此内容不会重叠。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2016-12-30
        • 2014-11-09
        • 2014-01-13
        • 2014-08-13
        • 2013-07-06
        • 1970-01-01
        • 2012-08-20
        相关资源
        最近更新 更多