References : Style sheets
Block elements define blocks of text in a document, such as paragraphs or lists, and appear with a line break before and after them. Block-level contents are enclosed by a rectangular box which, besides acting as a container, is used for positioning calculations.
bottom, left, right, top |
direction
|
display |
float |
position
|
unicode-bidi |
z-index
| bottom, left, right, top |
|
|
| Specifies the distance between the top, bottom, left, and right edge of the element's box and the top, bottom, left, and right edge of the parent (i.e. containing) block. |
| |
| CSS2 value | <length> | <percentage> | auto | inherit |
| |
| Initial value | auto |
| |
| Applied to | All elements. |
| |
| Inherited | No. |
| |
| Notes | The percentage value is applied to the parent block height. |
| |
Top |
|
| direction |
|
|
| Specifies the default writing direction of the element's content (i.e. from left to right or from right to left). |
| |
| CSS1 value | ltr | rtl |
| |
| CSS2 value | inherit |
| |
| Initial value | ltr |
| |
| Applied to | All elements. |
| |
| Inherited | Yes. |
| |
| Notes | Consult the unicode-bidi property to check the other properties provided with respect to text direction. |
| |
Top |
|
| display |
|
|
| Indicates how a block content box should be generated. |
| |
| CSS1 value | inline | block | list-item |
| |
| CSS2 value | run-in | compact | marker | table | inline-table | table-row-group | table-column-group | table-header-group | table-footer-group | table-row | table-cell | table-caption | none | inherit |
| |
| Initial value | inline |
| |
| Applied to | All elements |
| |
| Inherited | No. |
| |
Top |
|
| float |
|
|
| Specifies whether an object should float to the left, to the right or not at all. |
| |
| CSS1 value | none | left | right |
| |
| CSS2 value | inherit |
| |
| Initial value | none |
| |
| Applied to | Elements not placed with an absolute positioning. |
| |
| Inherited | No. |
| |
Top |
|
| position |
|
|
| Determines the CSS2 positioning algorithm used to calculate an object's coordinates. |
| |
| CSS2 value | static | <relative> | <absolute> | fixed | inherit |
| |
| Initial value | static |
| |
| Applied to | All elements except for generated contents. |
| |
| Inherited | No. |
| |
Top |
|
| unicode-bidi |
|
|
| Controls the embedding levels and the reordering with regard to the bidirectional algorithm when elements contain a mixed-language text with different writing directions. |
| |
| CSS2 value | normal | embed | bidi-override | inherit |
| |
| Initial value | normal |
| |
| Applied to | All elements. |
| |
| Inherited | No. |
| |
Top |
|
| z-index |
|
|
| Specifies the element's stacking level and whether it establishes a local stacking context. |
| |
| CSS2 value | auto | <integer> | inherit |
| |
| Initial value | auto |
| |
| Applied to | Positioned elements. |
| |
| Inherited | No. |
| |
Top |
|