Приглашаем посетить
Дельвиг (delvig.lit-info.ru)

CSS Padding Style Properties

Previous Page
Table of Contents
Next Page

CSS Padding Style Properties

Padding allows you to add space around an element, inside of the element's border.

padding

Usage

A shorthand property that allows you to set all the padding properties in one declaration.

Values

padding-top, padding-right, padding-bottom, padding-left.


padding-bottom

Usage

Sets the bottom padding of an element.

Values

length, %.


padding-left

Usage

Sets the left padding of an element.

Values

length, %.


padding-right

Usage

Sets the right padding of an element.

Values

length, %.


padding-top

Usage

Sets the top padding of an element.

Values

length, %.



Previous Page
Table of Contents
Next Page