HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

padding-left

Description

The padding-left property for CSS sets the left padding of a box.

Syntax

CSS

padding-left: value;

JS

object.style.paddingLeft = "value";

Values

<'padding-left'> = <length-percentage>
<length-percentage> =
    <length> |
    <percentage>
<length>

Specifies the length using a number followed by a unit of measurement.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

Initial

0

Examples

1 · length

2 · percentage

3 · JS