padding-left
Introduction
Sets the width of the padding area on the left of an element. Negative values are not allowed for padding.
Examples
Syntax
Values
<length>
The size of the padding as a fixed value. Must be nonnegative. Defaults to 0px.
<percentage>
The size of the padding as a percentage, relative to the inline size (width) of the containing block.
Formal definition
| Initial value | 0 |
| Applies to | all elements |
| Inherited | no |
| Animatable | yes |
| Percentages | refer to the width of the containing block |
Formal syntax
Compatibility
LCD tables only load in the browser
