Floats

This script allow us to insert image in to the body of text and floated, and the text plays along by wrapping around it to avoid an ugly gap.

The syntax is simple, but mastery isn't. Here is the css


#photo1{float:left;margin:0px 10px 5px 0px;}
#photo2{float:right;margin:0px 0px 0px 0
px;}

Note:
margin:0px(top) 10px(right) 5px(bottom) 0px(left);


Then give your image an ID.

Sample (zip) l View

Comments

Popular posts from this blog

Border Control with CSS

Bg img & Color in css

Dotted and Dashed border in CSS