添加总是显示在屏幕底部的页脚? [英] Adding a footer that is always displayed at bottom of screen?
问题描述
如何添加一个总是在屏幕底部的页脚,即使页面内容非常小
How can i add a footer that is always at the bottom of the screen even when the page contents are very small
例如问题,让我说页面没有那么多显示在其中,因此页脚变为在屏幕的中间。我可以确保如果页面没有很多内容,那么页脚只是在屏幕底部?
e.g of problem, lets say I have a page that doesn't have that much on display in it, the footer therefore becomes in the middle of the screen. Can I ensure that if the page doesn't have a lot of contents then the footer just be at the bottom of the screen?
UPDATE
我只想要一个位于屏幕底部的页脚,当没有足够的内容填充整个屏幕(即我不想要页脚显示
I just want a footer that is at the bottom of the screen when there is not enough content to fill the whole screen (i.e I don't want the footer showing up in the middle of the screen) and then if there is enough content for it to just go down at the bottom of the page.
推荐答案
- http://ryanfait.com/sticky-footer/
- http://www.cssstickyfooter.com/
这篇关于添加总是显示在屏幕底部的页脚?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!