left = ...
Distance from the left edge of the markup element to the left edge of its container or anchor-point.
The behaviour of this field is affected by the setting of the inline field.
By setting both the left and right field values at the same time when inline=false, it can be possible to regulate the height of a box or other markup tag in terms of the size of its container element.
Specifying a distance value for this field
This field takes a distance value specified with either one or two value elements.
- The first element is a numerical distance value.
- The second, optional element, is a text string containing the units of distance to be applied.
If the units are not specified, the distance is interpreted in pixels {px} by default.
Example
<box left = 5> <! specifies 5 pixels as the value for the left property. !> <box left = 5,{px}> <! 5 pixels; explicitly stated !> <box left = 20,{%}> <! percentage units !> <box left = 12,{pt}> <! typesetting point units !> <box left = 1.2,{em}> <! multiple of current font size !>