This text is wrapping around the image because the image has been formatted with a Class style which floats it to the left and gives it a margin. This text is wrapping around the image because the image has been formatted with a Class style which floats it to the left and gives it a margin. This text is wrapping around the image because the image has been formatted with a Class style which floats it to the left and gives it a margin.

This text is wrapping around the image because the image has been formatted with a Class style which floats it to the right and gives it a margin. This text is wrapping around the image because the image has been formatted with a Class style which floats it to the right and gives it a margin. This text is wrapping around the image because the image has been formatted with a Class style which floats it to the right and gives it a margin.

Close this page

CSS - formatting images

This example demonstrates formatting images.

The CCS styles for this page are located in the <head> tag of this page, so just view the page source code to see what's going on.