Page Layout

left

This property applies only to positioned elements. Used together with the absolute or fixed positioning this property determines the position of the left edge of the style relative to the left edge of its closes positioned ancestor tag element. If the selected element is not inside any positioned tags the placement is relative to the left of the browser. When used with relative positioning, the placement is calculated fro the element’s left edge. Percentage values are calculated based on the width of the containing element.

Example

left: 20em;

Browser support

IE5.5+, FF1+, SA1.3+, OP9.2+

Values

em Relative length value. A em unit is equal to the font-size value of the element used.
Percentage value The regular format of a percentage value.
px Pixel, a pixel unit represents a single dot on the screen.

Related properties

Can be used with..

Search the Soup!