CSS for Positioning Elements
Positioning Elements with CSS
| Property | Description | Values |
|---|---|---|
| bottom | Sets how far the bottom edge of an element is above/below the bottom edge of the parent element | auto % length |
| clip | Sets the shape of an element. The element is clipped into this shape, and displayed | shape auto |
| left | Sets how far the left edge of an element is to the right/left of the left edge of the parent element | auto % length |
| overflow | Sets what happens if the content of an element overflow its area | visible hidden scroll auto |
| position | Places an element in a static, relative, absolute or fixed position | static relative absolute fixed |
| right | Sets how far the right edge of an element is to the left/right of the right edge of the parent element | auto % length |
| top | Sets how far the top edge of an element is above/below the top edge of the parent element | auto % length |
| vertical-align | Sets the vertical alignment of an element | baseline sub super top text-top middle bottom text-bottom length % |
| z-index | Sets the stack order of an element | auto number |
