CSS property: padding-left
Description
The left padding of a box.
Syntax
padding-left: <length> | <percentage>;
Values
- <length>
Specifies a fixed width.
0 (by default) - <percentage>
The percentage is relative to the width of the containing block, not the height (at least in a horizontal flow; in a vertical flow they are relative to the height).
Versions
Examples
body { padding-left: 50px; }