CSS Fundamentals: Containing Children (2009-7-7)
The Overflow: Hidden Trick
Have you ever noticed that when you float all of the children elements within a div, the parent takes up zero space? For example, in your code editor, adding the following within the body tag.
view plaincopy to clipboardprint?
Share on Facebook

