float is not a positioning property in CSS —the only position properties in CSS are absolute, relative, fixed, and static—however, when you combine widths, margins, and floats, you have CSS properties at your command that are often more reliable in terms of layouts than any of the available position properties.
I was reading about CSS and was trying to create a layout using float. There is a great article that explains CSS float in detail.