Stylus Studio XML Editor

Table of contents

Appendices

7.12 Common Relative Position Properties

Common Relative Position Properties

This group also includes the top, right, bottom, and left properties from the common-absolute-position-properties group.

relative-position[top]

"relative-position"

A Property Derived from a CSS2 Property.

0prop-summary lefttoplefttoplefttoplefttoplefttoplefttop
11lefttopValue: 11lefttopstatic | relative | inherit
11lefttopInitial: 11lefttopstatic
11lefttopApplies to: 11lefttopall block-level (except fo:block-container) and inline-level formatting objects
11lefttopInherited: 11lefttopno
11lefttopPercentages: 11lefttopN/A
11lefttopMedia: 11lefttopvisual

Values have the following meanings:

static

The area is normally stacked.

relative

The area's position is determined as if it was normally stacked. Only during rendering is the area rendered offset relative to this position. The fact that one area is relatively positioned does not influence the position on any other area.

For areas that break over a page boundary, only the portion that would have been on a given page originally is included in the repositioned area on that page. Any portion of the repositioned area that was originally on the current page, but falls off the current page due to repositioning is "off" (typically clipped), thus does not fall onto any other page.