CSS border-collapse

Previous Next

Demo of the different values of the border-collapse property.

Click the property values below to see the result:

border-collapse: separate;
border-collapse: collapse;
A table cell A table cell A table cell A table cell
A table cell A table cell A table cell A table cell
A table cell A table cell A table cell A table cell
A table cell A table cell A table cell A table cell
A table cell A table cell A table cell A table cell
A table cell A table cell A table cell A table cell
A table cell A table cell A table cell A table cell
A table cell A table cell A table cell A table cell

Play more with the code in our Tryit yourself editor: Try it Yourself ❯