how to make the footer div start after all other divs have finished
- by amit
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?