Hi everybody,
I'm struggling with the hoary problem of filling a page with css, even when the content doesn't reach the end of it.
I've been digging through many posts, forum and mailing lists and found hundreds variations of the same few tricks, but didn't find an ultimate one.
Since I wanted to have a very minimal and clean structure I opted for the fake, though effective, solution of styling the html and body so that inner elements seem to get to the end of the page even when they're not.
Here you can find an example:
http://evoke.mapofemergence.com/restyle
Stylesheet here:
http://evoke.mapofemergence.com/restyle/style.css
As you can see the whole structure works pretty fine but I couldn't figure out how to deal with the footer element.
But when the page's content doesn't fill the window (ie. in the index), the footer's margin property isn't enough to have it stuck on the bottom of the page (the footer is the rectangle saying "evoke.mapofemergence is a project...").
At first, I tried giving it an "absolute" position which worked fine for the pages not filling the window.
Example here:
http://evoke.mapofemergence.com/restyle/index1.php
Stylesheet here:
http://evoke.mapofemergence.com/restyle/style1.css
But, with this solution, for longer pages (such as this one) the footer is drawn over the content and not pushed at the very bottom of the containing div.
I hope you can help me out, since I really can't figure out how to solve this.
Thanks for your time and kind attention,
Stefano