Help Center

Local Navigation

CSS property: padding-left

Availability

BlackBerry® Device Software version 4.3 or later

Usage

All elements except table-row-group, table-header-group, table-footer-group, table-row, table-column-group, and table-column

Inherited

No

Default value

0

The padding-left specifies the amount of padding applied to the left of an element.

Property values

Value

Description

length

This value specifies an absolute value for the padding width. 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 padding width as a percentage of the width of the containing block.

auto

This value specifies that the BlackBerry® Browser determines the padding applied to the left of the element.

inherit

This value specifies that the element inherits the padding-left property value from the containing element.

Index


Was this information helpful? Send us your comments.