| |
| | Cascading Style Sheets, level 1 |
 | | But, as the example shows, the placement of an element is relative to ancestors and siblings, so these elements' padding and margin properties have an effect on their children. |
 | | For example, by setting the 'float' property of an image to 'left', the image is moved to the left until the margin, padding or border of another block-level element is reached. |
 | | Examples of constraints of the presentation medium are: limited resources (fonts, color) and limited resolution (so margins may not be accurate). |
| www.w3.org /TR/REC-CSS1 (15136 words) |
|