border-spacing

Draft

Definition

The border-spacing CSS property specifies the distance between the borders of adjacent table cells (only applicable when border-collapse is set to separate). It accepts one or two values defining the horizontal and vertical spacing respectively. For instance, border-spacing: 5px; will set a 5-pixel spacing on all sides, while border-spacing: 5px 10px; will set a 5-pixel horizontal and 10-pixel vertical spacing.