Menu Riverview Church

PADDING-TOP

The padding-top property sets the top padding of a box.

SYNTAX

CSS

padding-top: value;

JS

object.style.paddingTop = "value";

VALUES

<'padding-top'> = <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-left

padding-right

EXTERNAL

World Wide Web Consortium (W3C)