| CSS Margin Properties | | | | CSS Border Properties |
| | | | |
| SmartCSS (TM) software is mainly based on | | | | Margin (margin-top margin-right margin-bottom |
| the CSS box model. The CSS box model | | | | margin-left)margin-top (auto *length |
| represents every element on a web page which | | | | )margin-bottom (auto *length ) |
| contains four components: | | | | |
| | | | *Length - Relativeem The computed |
| - The element. | | | | font-size.ex The height of a lowercase "x".px |
| | | | Pixels, relative to the viewing device. |
| - The padding around the element. | | | | |
| | | | % Percentage. |
| - The border around the padding. | | | | |
| | | | Or |
| - The margin around the border. | | | | |
| | | | *Length - Absolutein Inches (1 inch = 2.54 |
| The CSS margin properties define the space | | | | centimeters).cm Centimeters.mm Millimeters.pt |
| around the element which includes the padding | | | | Points (1 point = 1/72 inches).pc Picas (1 |
| and the border values. | | | | pica = 12 points). |
| | | | |