Monday, July 21, 2008

CSS float Property

The float property allows two div elements to display in same line.The float property sets where an image or a text will appear in another element.Note: If there is too little space on a line for the floating element, it will jump down on the next line, and continue until a line has enough space.

img
{
float: left
}

No comments: