block formatting contexts

A block formatting context is a box that satisfies at least one of the following:

The left margin is not large enough to move the pink box away from the yellow box. That margin would have to be greater than the margin box of the two floats (#aqua and #yellow).

Webkit (Chrome and Safari) seems to "create" a right margin that is equal to the left margin value.

Space between floats and non floated boxes should be created via margin on the floats.

Style the pink box with:

	border-left: 20px solid #fff;

Try These

Watch This

aqua
yellow
pink

Check This

<div id="aqua">aqua</div> <div id="yellow">yellow</div> <div id="pink">pink</div>

Edit This

Use shift + enter to create new lines (even in Safari and Chrome).