CSS Margin Properties by Mark Tessen
CSS Margin Properties
SmartCSS ™ software is mainly based on the CSS box model. The CSS box model represents every element on a web page which contains four components:
- The element - The padding around the element - The border around the padding - The margin around the border.
The CSS margin properties define the space around the element which includes the padding and the border values.
CSS Border Properties
Margin (margin-top margin-right margin-bottom margin-left)
margin-top (auto *length )
margin-bottom (auto *length )
*Length - Relative
em The computed font-size.
ex The height of a lowercase "x"px Pixels, relative to the viewing device% Percentage.
Or
*Length - Absolute
in Inches (1 inch = 2.54 centimeters)cm Centimetersmm Millimeterspt Points (1 point = 1/72 inches)pc Picas (1 pica = 12 points). About the Author
Mark Tessen software engineer
Article Source: GetMyArticles.com
Video Richard Hammond presents Bloody Omaha (The Graphics)
|