border-collapse
Determines whether table cells have shared or separate borders. 'Collapse' is the most common setting used to create clean, single-line borders between cells.
Quick example
table {
border-collapse: collapse;
width: 100%;
}
th, td {
border: 1px solid #ddd;
padding: 12px;
/* creates a clean, modern data table layout */
} Quick facts
Initial value
separateInherited
Yes
Applies to
table elements
Animation type
discrete
Values
separatecollapse border-collapse Browser Support
Widely available Since 2015 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.
Safe to use without fallbacks.
1+
1+
1.1+
12+