1, the static (default)
When you don't specify positioning for an element (such as div) mode, the default is static, which is in accordance with the document flow (flow), the element into a suitable place, so under the different resolution, using current location can be a very good since the fit, obtain relatively good effect on layout,
Generally speaking, we don't need to indicate the location of the current element is static, because this is the default location, unless you want to override inherited from the parent element of the positioning system,
2, the relative (relative positioning)
On the basis of the static, if I want to make one of the elements in his original position to do some adjustments (displacement), we can set the element orientation to relative, at the same time specified relative displacement (the use of top, bottom, left, right),
It should be noted that the relative positioning of the elements in the document flow, still still occupies the he had occupied the position of the space - even though he is now is not in the original position,
3, the absolute (absolute positioning)
If you want to be in one Document (the Document) will be returned to the one element at a specified location, you can use absolute positioning, set the position of the element to absolute, at the same time use top, bottom, left and right to locate,
Absolute positioning can make the element to be deleted from the document flow, as a result, the element originally occupied space was filled by other elements,
4, mix relative and absolute (mixed relative orientation and absolute orientation)
If a parent element set relative, and absolute is set to its one child, such as:
1
2
3
4