gandalf458 — 2011-11-17T07:14:11-05:00 — #1
Oh dear. I should know the answer and I know it's bound to have been asked before, but I can't find the answer.
I want my wrapper div to include everything, including my footer area. I know it's because of the floated elements and I thought adding a clear:both in the footer would solve it, but it doesn't.
Can some kind soul enlighten me please...
stevie_d — 2011-11-17T07:42:55-05:00 — #2
If you put
overflow:hidden; on the <div>, that will ensure that it extends to include all floated child elements.
gandalf458 — 2011-11-17T07:51:54-05:00 — #3
Cool. Many thanks Stevie.