border-spacing
border-spacing is a CSS property in the Table category. Controls the layout and appearance of table elements. The syntax is border-spacing: <length> <length>?. A typical example: border-spacing: 2px; It is commonly applied to markup such as <div class="demo">Sample</div> Browser support: Chrome 1+, Firefox 1+, Safari 1+, Edge 12+. A close relative is border-collapse, which controls the layout and appearance of table elements. A close relative is caption-side, which controls the layout and appearance of table elements. A close relative is empty-cells, which controls the layout and appearance of table elements. More about this category: CSS table properties for styling HTML tables. Related Table entries: border-collapse, caption-side, empty-cells, table-layout, display: table. This page is part of the free CSS Reference documentation covering 841+ properties, selectors, functions, and at-rules, each with syntax, values, examples, and browser support. You can look up any other entry from the search page or return to the CSS Reference homepage.