Floating Images Using CSS

Here is a paragraph containing a floated img element: example floated image -- the element is floated to the left using the property assignment float: left. Note how the image is floated to the left inner edge of the block it lies within, such that all the text preceding the img in the markup appears before the floated image. This element is also assigned the following CSS properties: margin-left: 20px; margin-right: 60px; margin-top: 30px; background-color: #dddddd;