CSS border-spacing property
Usage
Used alongside border-collapse: separate to specify the distance between cell borders.
Values
- [length] - sets the horizontal and vertical spacing
- [length] [length] - by using two values you can specify the horizontal and vertical border spacing separately
Example
Code:
table {
border-collapse: separate;
border-spacing: 10px 5px;
}