This text sits next to the image and because the text extends below the bottom of the image, the next image positions itself correctly under the previous image.

This text is short, so the next image can float up beside this one.

This is the text for the third image. When the clear property is applied, the image can no longer float up and sits in the desired position.

To purchase the stock images in this book and other great stock images, go to bigstockphoto.com

A code example from Stylin’ with CSS, Third Edition by Charles Wyke-Smith. Visit stylinwithcss.com for more CSS information and updates.