Export (0) Print
Expand All
Expand Minimize

2.1.36 [CSS-Level2-2009] Section 9.3.1, Choosing a positioning scheme: 'position' property


The specification states:

Value:                 static | relative | absolute | fixed | inherit 
Initial:               static
Applies to:            all elements 
Inherited:             no 
Percentages:           N/A 
Media:                 visual 
Computed value:        as specified

Quirks Mode and IE7 Mode (All Versions)

The inherit value of the position property is not supported.


The specification states:

The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position. When a box B is relatively positioned, the position of the following box is calculated as though B were not offset. The effect of 'position:relative' on table-row-group, table-header-group, table-footer-group, table-row, table-column-group, table-column, table-cell, and table-caption elements is undefined.

Quirks Mode, IE8 Mode, and IE9 Mode (All Versions)

When an inline element breaks across lines, the top, right, bottom and left properties are relative to those of the first linebox.


The specification states:


The box's position is calculated according to the 'absolute' model, but in 
addition, the box is fixed with respect to some reference. As with the 'absolute' 
model, the box's margins do not collapse with any other margins… UAs must not paginate the content of fixed boxes. Note that UAs may print invisible 
content in other ways.

Quirks Mode (All Versions)

Fixed positioning is not supported.

© 2014 Microsoft