HTML Dog
Skip to navigation

CSS Property: padding-right

The right padding of a box, inside the right margin and border areas, and outside the right of the content area.

Possible Values

ValueNoteExample
[length]Should not be a negative value.10px
[percentage]Calculated as a percentage of the containing box’s width.
Should not be a negative value.
25%
inherit
initial
unset

Example


#coot { padding-right: inherit; }

Browser support