CSS Margins

CSS defines margins, border and padding for each box element. The formal specification is available at CSS 2.1 box model. Here are some excerpts.

Collapsing Margin
http://www.brainjar.com/css/positioning/

Table Borders and Margins
table-layout: fixed;

border-collapse: collapse;

empty-cells:show