ICSS2Properties.Position

ICSS2Properties.Position property

The values of this property have the following meanings:

static - The box is a normal box, laid out according to the normal flow. The ’left’ and ’top’ properties do not apply.relative - 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.absolute - The box’s position (and possibly size) is specified with the ’left’, ‘right’, ’top’, and ‘bottom’ properties. These properties specify offsets with respect to the box’s containing block. Absolutely positioned boxes are taken out of the normal flow. This means they have no impact on the layout of later siblings. Also, though absolutely positioned boxes have margins, they do not collapse with any other margins.fixed - The box’s position is calculated according to the ‘absolute’ model, but in addition, the box is fixed with respect to some reference. In the case of continuous media, the box is fixed with respect to the viewport (and doesn’t move when scrolled). In the case of paged media, the box is fixed with respect to the page, even if that page is seen through a viewport (in the case of a print-preview, for example). Authors may wish to specify ‘fixed’ in a media-dependent way.

public String Position { get; set; }

Return Value

position property

See Also