Help Center

Local Navigation

CSS property: left

Availability

BlackBerry® Device Software version 4.6 or later

Usage

any positioned element

Inherited

no

Default value

auto

The left property is a positioning property that specifies the distance of the left edge of an element relative to the left edge of the containing element.

Considerations

If the position property for the element has a value of static, then the left property has no effect.

Values

Value

Description

length

This value specifies the distance between characters as an absolute value. The value can be an integer with the unit of measurement. For example, “10pt” or “6px” . Negative values are permitted.

Possible units include pt, px, in, cm, pc, em, or ex.

percentage

This value specifies the distance as a percentage of the width of the containing element. Negative values are permitted.

auto

This value specifies that the BlackBerry® Browser determines the position of the left edge of the element.

Index


Was this information helpful? Send us your comments.