padding-left Description:
The padding-left property defines the left padding of the element.
padding-left in CSS Versions:
padding-left Syntax:
padding-left: <length> | <percentage>
- length
A specific length (include unit of measure). - percentage
A percentage of the height of the closest block-level ancestor.
padding-left Initial Value:
0
padding-left Applies To:
All elements.
padding-left Inheritance:
This property is not inherited.
padding-left Browser Support:
padding-left Examples:
standard padding-left
<p style="padding-left : 2em;">
This paragraph has a 2 em left padding.
</p>
padding-left Special Notes:
- Negative values are not permitted.
- The padding will inherit the background properties of the element.

