You can the CSS Float to push an element to the left or right, with other elements rapping around it. You can use Float for elements or layouts. Elements can only float horizontally. A floated element can move as far to the left or right as possible, and the elements after the floating element will just flow around it. However, the elements before it will not be affected.
Ex. of using Float
img
{
float:right;
}
you can turn off Float using Clear
Ex. of adding a text line using the clear property:
.textline
{
clear:both;
}
The clear property here specifies the sides of an element that other floating elements are not allowed.
CSS Float
You can the CSS Float to push an element to the left or right, with other elements rapping around it....
css float
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users