Sticky footer question

How to make the footer to stick to the bottom of the viewport, so that the content can scroll behind it (that is always on top).

I couldnt figure that out.

I only think that i have to edit the #layout_footer in the css. and maybe also the #page_wrapper.