CSS3.com


CSS BORDER-SPACING

This property specifies the distance between the borders of adjacent table cells in the "separated borders" model. The space between table cells uses the background color/image specified for the explicit or assigned TABLE element.

Example
table { border: medium double red; border-collapse: separate; border-spacing: 10pt 5pt }
Possible Values
inherit: Explicitly sets the value of this property to that of the parent.
[length length]: Specifies an explicit border spacing. Listing one length value should assign the value to both horizontal and vertical spacing, while specifying two values should assign the first value to the horizontal spacing and the second value to the vertical spacing.


Go Back