Bootstrap 100% 高度(页脚贴在底部的内容)

Bootstrap 100% height (content so footer sticks to bottom)

如果内容未填满页面,如何将页脚强制 'hug' 到页面底部?

我尝试了各种 100% height/max-height div 的组合,但无法让页脚打球...

站点:moorparksdevon.uk

因为您正在使用 twitter-bootstrap 这可能是一种解决方案。将以下内容添加到您的页脚 div--- <div class="footer navbar-fixed-bottom">

同时将此 css 添加到您的页面---

html,body{
height: 100%
}

以上几点可以解决您的问题,请记住您无法提供完整的代码。