Margin collapsing explored

Floats and collapsing margins are two CSS concepts that can be very hard to get a grip on. Anyone who wants to understand how margin collapsing works should read Andy Budd’s No Margin for Error, a well-written article with examples that show margin collapsing in action.