My problem is that I need a footer which is always on the bottom, even if the page scrolls etc.. but I don't know how to make the content follow the footer.
Please see the example given, this is a very similar layout, I have a sidebar also, but you can see with firebug, or something like that, that the body
div is not following the footer.
Example: Click for demo
Have you thought about using the jQuery Sticky Footer found at http://css-tricks.com
http://css-tricks.com/snippets/jquery/jquery-sticky-footer/
http://css-tricks.com/examples/jQueryStickyFooter/
You could make it with Javascript
+ CSS
.
With CSS you could put the footer to the bottom of the page, and with javascript your could specify the height of the page and modify the height of your content.
I've answered a similiar question before, you might want to check it out:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.