The float property specifies that the element is floated to the left or right side, with the surrounding elements flowing around it. Table B.7 describes the values you can assign to this property. You set the total height of the element with the height property. You can set this property for text blocks or images. For example, you can use the height and width properties to create a special warning on the Web page that has a fixed size.
Height is more useful with images, however.
You can set this property to any length, a percentage value, or auto , which lets the browser determine the best size for the element. You set the bottom margin by using the margin-bottom property. You can also use a negative margin size to create special effects such as hanging indents. You set the left margin by using the margin-left property. You can also use a negative margin size to create special effects.