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





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