Приглашаем посетить
Гаршин (garshin.lit-info.ru)

CSS Dimension Style Properties

Previous Page
Table of Contents
Next Page

CSS Dimension Style Properties

Quite a few CSS style rules rely on dimensional properties in one form or another. It would be difficult to size elements with them.

height

Usage

Sets the height of an element.

Values

auto, length, %.


line-height

Usage

Sets the distance between lines of elements.

Values

normal, length, %.


max-height

Usage

Sets the maximum height of an element.

Values

none, length, %.


max-width

Usage

Sets the maximum width of an element.

Values

none, length, %.


min-height

Usage

Sets the minimum height of an element.

Values

length, %.


min-width

Usage

Sets the minimum width of an element.

Values

length, %.


width

Usage

Sets the width of an element.

Values

auto, length, %.



Previous Page
Table of Contents
Next Page