Lessons Community Resources Tools

Left Padding

Syntax: padding-left: <value>
Possible Values: <length> | <percentage>
Initial Value: 0
Applies to: All elements
Inherited: No

The padding-left property describes how much space to put between the left border and the content of the selector. The value is either a length or a percentage. Percentage values refer to the parent element's width. Negative values are not permitted.