how to make the footer div start after all other divs have finished
Posted
by amit
on Stack Overflow
See other posts from Stack Overflow
or by amit
Published on 2010-05-13T11:41:15Z
Indexed on
2010/05/13
11:44 UTC
Read the original article
Hit count: 220
i am having a slight problem with the alignment of the footer div. i have a header at the top.
div = maincontent
{
two divs for content, side by side.
another 2 divs side by side below the content div.
}
//just to represent. i know this is not html ;)
now i want the footer div to start after the maincontent div finishes. i can do that if i specify a fixed height for the maincontent div. but i dont want to specify a height for it. if i dont specify the height, the footer div starts at the middle of the page.
what am i doing wrong?
© Stack Overflow or respective owner