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

padding-right

Description

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

Syntax

CSS

padding-right: value;

JS

object.style.paddingRight = "value";

Values

<'padding-right'> = <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