Border-spacing

The   property is used in CSS and certain HTML elements. It specifies the distance between the borders of adjacent cells. This is equivalent to the  attribute in presentational HTML, but an optional second value can be used to set different horizontal and vertical spacing. This property applies only when  is.

Values

 * - A single value is for both horizontal and vertical border spacing. Ex.,  , etc.
 * - The first  gives the horizontal spacing (space between cells in adjacent columns) and the second   gives the vertical spacing (space between cells in adjacent rows). See above for length examples.

HTML example:

CSS example: table { border-spacing: 10px 5px; border-collapse: separate; }