Some sample text that has no other purpose than to show how floating elements are moved to the side of the parent element while honoring margins, borders, and padding. Note how adjacent vertical margins are collapsed between non-floating block-level elements.
Some sample text that has no other purpose than to show how floating elements are moved to the side of the parent element while honoring margins, borders, and padding. Note how adjacent vertical margins are collapsed between non-floating block-level elements.
<BODY> <P><IMG src=img.png alt="This image will illustrate floats"> Some sample text that has no other... (...) Formatting would have been exactly the same if the document had been: <BODY> <P>Some sample text <IMG src=img.png alt="This image will illustrate floats"> that has no other...