CSS positioning on
In the CSS on the location is: position: relative | absolute | static | fixed
static no special set, follow the basic provisions of the location, not z-index for grade level.
relative does not flow out of the document, refer to their static position through top, bottom, left, right location, and can z-index for grade level.
Documents from the absolute flow through the top, bottom, left, right positioning. Recently selected its parent element level position, when the father-level position for the static when, absolute element will be the starting point for positioning coordinates of the body, can z-index for grade level.
fixed a fixed location, where he fixed on the window like a visual rather than as a father or a body-level elements. By z-index for grade level.
CSS positioning in the stacked grade: z-index: auto | namber
relative | absolute | static | fixed position of these four different ways, we have to find a way to the location of the elements will also be different.
































