Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请参考我的网站http://www.vault-x.com
我应用了本教程中的“粘性页脚”技术 (http://ryanfait.com/sticky-footer/)
但是,当浏览器窗口垂直调整大小时,它不起作用。我无法弄清楚为什么会这样。
你的列是浮动的,这意味着它没有给内容元素提供高度。在你的元素之后添加一个<div>with ,它将解决问题。clear: both#r_column
<div>
clear: both
#r_column