Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Why isn't my footer at the bottom? Reply To: Why isn't my footer at the bottom?

#241796
bearhead
Participant

@lip_lostinprogramming

I don’t think you understand the use-case for a sticky footer. If you can be sure that the content of a webpage will extend further than the height of the user’s browser window, then yes, simple static positioning should suffice. However, if the page has a short amount of content on it, a statically positioned footer may not render at the bottom of the user’s browser window.

A sticky footer will guarantee that it is always placed at the bottom of the browser window AND after all the content, regardless of the length of content on the page.

The advice Atelierbram gave was very good.