开发者

how does this css footer stay at the bottom [duplicate]

This question already has answers here: 开发者_StackOverflow中文版 Closed 11 years ago.

Possible Duplicate:

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

how does this site keep the footer at the bottom when the content is short?


You can use a sticky footer solution like http://ryanfait.com/sticky-footer/ or http://www.cssstickyfooter.com/


 #footer{
    position:absolute;
    bottom:0;
 }


First of all, warn before putting a man's butt on the screen. Second, use firebug. Third, its called position: absolute.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜