Adam Halasz
Adam Halasz

Reputation: 58341

HTML / CSS: How to make the content follow the footer?

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

Upvotes: 0

Views: 1841

Answers (3)

Sinan
Sinan

Reputation: 11563

I've answered a similiar question before, you might want to check it out:

Div at bottom of window and adaptable height div

Upvotes: 0

user388221
user388221

Reputation:

You could make it withJavascript + 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.

Upvotes: 1

Related Questions