html - 我如何让页脚粘在底部

标签 html css footer sticky-footer

<分区>

Possible Duplicate:
How do you get the footer to stay at the bottom of a Web page?

我有这个page如果您使用

登录

用户名:约翰 密码:测试员

你会看到页脚没有粘在底部...关于如何做到这一点的任何想法...我正在考虑在中间容器上使用最小高度但这不适用于大型显示​​器,除非我让它非常高...任何想法..

这是我的html

<body class="index_projects en production controller_projects">
    <div class="shell">
        <div id="header"></div>
        <div id="container" class="container"></div>
    </div>
    <div id="footer-wrap"></div>
</body>

知道我做错了什么

最佳答案

你可能想看看这篇文章Get down! How to keep footers down

关于html - 我如何让页脚粘在底部,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8822016/

相关文章:

javascript - 如何将js数组连接到highcharts

html - 我怎样才能使水平容器中的列表项均匀地填充整个容器而没有间距?

javascript - 如何: collapsible two tier org chart creation using CSS and jQuery

android - 从 webview 中删除页眉和页脚

javascript - 为什么 css 页脚链接不起作用?

html - 正则表达式删除 HTML 中的 <font> 标签

php - 使用PHP存储点击的链接数据并将其传输到新页面

html - 链接 href ="#"有什么作用?

html - Rails - 电子邮件字符串拒绝在表格内自动换行

html - 粘性页脚不起作用,让我的右栏变得疯狂