CSS border-collapse Property

The border-collapse CSS property is used to set the borders of the cells contained within the table and indicates whether or not these cells will share a common border.




Property Values

Value Description
separate Borders are separated; each cell will have its own set of borders. This is the default setting.
collapse When possible, borders are combined into a single border (border-spacing and empty-cells properties have no effect).
initial This property is set to its default value.
inherit Inherits this property from its parent element.

Supported Browsers

Element Chrome Firefox Safari Edge / IE Opera
border-collapse 1.0 1.0 1.2 5.0 4.0