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, %.





SAMS Teach Yourself HTML and CSS in 24 Hours
Sams Teach Yourself HTML and CSS in 24 Hours (7th Edition)
ISBN: 0672328410
EAN: 2147483647
Year: 2005
Pages: 345

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net