Their is magic in Cascading Style Sheets. (Some properties more than others, but still magic.) Float is one of those CSS properties that really fundamental for any developer trying to create layouts without any tables.
CSS – Float
There are three possible values for float: right, left and none. They are pretty self-explanatory, but here goes anyway:
Lets say you have a div that is 200px wide and 30px tall. Normally any content that comes after it would start at the bottom (30px bellow the top of the div.):
Here is the content that comes after the div.
Here is the content that comes after the div.
Here is the content that comes after the div.
-CSS Everywhere!
-Ashton Sanders






