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.
我很久以前编写了页脚,我可以弄清楚我做了什么将它附加到浏览器底部并停止页面滚动。我想要的是页脚位于#main div 下方,因此您必须向下滚动才能看到它。
我为我乱七八糟的代码和问这个乏味的问题道歉
阿兰,16
http://dl.dropbox.com/u/13722201/Dorset%20Designs/home.html
要做两件事:
我认为这应该可行。
从您的元素中删除position:fixed和,因此页脚将是,bottom: 0#footer
position:fixed
bottom: 0
#footer
#header { height: 110px; width: auto; }