Menu Riverview Church

PADDING-LEFT

The padding-left property 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

LENGTH

PERCENTAGE

JS

INTERNAL

padding

padding-bottom

padding-right

padding-top

EXTERNAL

World Wide Web Consortium (W3C)