Name
border-spacing
Synopsis
This
specifies the distance between cell borders in the separated borders
model. The first of the two length values is the horizontal
separation, and the second is the vertical. This property is ignored
unless border-collapse
is set to
separate
. Although the property only applies to
tables, it is inherited by all of the elements within the table.
Values:
<length> <length>? | inherit
Initial value:
0
Applies to:
elements with the display
value
table
or inline-table
Inherited:
yes
Computed value:
two absolute lengths
Note:
property is ignored unless border-collapse
value
is separate
Get Cascading Style Sheets: The Definitive Guide, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.