Layout


These styles can be used in combination with any of the previous style types to affect the entire page, or components of the page.

margin

Usage

Sets the margins for the page.

Values

<margin-width> The width of the margin in percentage or in fixed width.

inherit The same as the parent element.

Initial Value

0.

Notes

Set specific margins using the margin-top, margin-right, margin-bottom, and margin-left properties.


padding

Usage

Sets the space that surrounds the element.

Values

<length> Sets the table padding to a fixed length.

<percentage> Sets the table padding to a percentage.

Initial Value

0.

Notes

Set specific padding using the padding-top, padding-right, padding-bottom, and padding-left properties.




Sams Teach Yourself HTML in 10 Minutes
Sams Teach Yourself HTML in 10 Minutes (4th Edition)
ISBN: 067232878X
EAN: 2147483647
Year: 2004
Pages: 151
Authors: Deidre Hayes

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