Schema Central > XSL-FO 1.1 > fo.xsd > position
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

position

The positioning scheme to be used. CSS2 Reference: "position" property

See http://www.w3.org/TR/xsl11/#position.

Attribute information

Namespace: None

Schema document: fo.xsd

Type: Anonymous

Properties: Local, Unqualified

Value

  • Type based on xsd:token
    • Valid valueDescription
      staticThe 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"
      relativeThe 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"
      absoluteThe 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"
      fixedThe 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

    Site developed and hosted by Datypic, Inc.

    Please report errors or comments about this site to contrib@functx.com