position
The positioning scheme to be used. CSS2 Reference: "position" property
Attribute information
Namespace: None
Schema document: fo.xsd
Type: Anonymous
Properties: Local, Unqualified
Value
Valid value Description static The box is a normal box, laid out according to the normal flow. The "top", "right", "bottom", and "left" properties do not apply. relative-position="static"absolute-position="auto" 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. relative-position="relative"absolute-position="auto" 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. relative-position="static"absolute-position="absolute" 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. For instance, an author may want a box to remain at the top the viewport on the screen, but not at the top of each printed page. relative-position="static"absolute-position="fixed" inherit
Used in
- Attribute group fo:position
- Anonymous type of element fo:basic-link via reference to fo:common-relative-position-properties
- Anonymous type of element fo:bidi-override via reference to fo:common-relative-position-properties
- Anonymous type of element fo:block via reference to fo:common-relative-position-properties
- Anonymous type of element fo:character via reference to fo:common-relative-position-properties
- Anonymous type of element fo:external-graphic via reference to fo:common-relative-position-properties
- Anonymous type of element fo:initial-property-set via reference to fo:common-relative-position-properties
- Anonymous type of element fo:inline via reference to fo:common-relative-position-properties
- Anonymous type of element fo:inline-container via reference to fo:common-relative-position-properties
- Anonymous type of element fo:instream-foreign-object via reference to fo:common-relative-position-properties
- Anonymous type of element fo:leader via reference to fo:common-relative-position-properties
- Anonymous type of element fo:list-block via reference to fo:common-relative-position-properties
- Anonymous type of element fo:list-item via reference to fo:common-relative-position-properties
- Anonymous type of element fo:page-number via reference to fo:common-relative-position-properties
- Anonymous type of element fo:page-number-citation via reference to fo:common-relative-position-properties
- Anonymous type of element fo:page-number-citation-last via reference to fo:common-relative-position-properties
- Anonymous type of element fo:scaling-value-citation via reference to fo:common-relative-position-properties
- Anonymous type of element fo:table via reference to fo:common-relative-position-properties
- Anonymous type of element fo:table-and-caption via reference to fo:common-relative-position-properties
- Anonymous type of element fo:table-caption via reference to fo:common-relative-position-properties
- Anonymous type of element fo:table-cell via reference to fo:common-relative-position-properties
- Anonymous type of element fo:table-row via reference to fo:common-relative-position-properties
- Attribute group fo:common-relative-position-properties via reference to fo:position
- Attribute group fo:shorthand-properties via reference to fo:position
- Type fo:table-section via reference to fo:common-relative-position-properties (Elements fo:table-header, fo:table-footer, fo:table-body)