Alignment Controls
You can use stylesheet attributes to control how an object is to be aligned relative to those around it:
- float can be none (the default) to specify that this object will be aligned the same as its parent, left to align the object to the left allowing other objects to flow around it on the right, or right to align the object to the right allowing other objects to flow around it on the left.
- clear can stop the current object flowing around another object. This can be none (the default) to allow the object to flow around other floated objects, left to prevent it from flowing around the left side of another object, right to prevent it flowing around the right side of another object, or both to stop it from flowing around any other object.
Examples
#myobj {float:left;}
#obj2 {clear:right;}


