Name

border-collapse — NN n/a IE n/a CSS 2

Synopsis

Inherited: No

Sets whether borders of adjacent table elements (cells, row groups, column groups) are rendered separately or collapsed (merged) to ignore any padding or margins between adjacent borders.

CSS Syntax

border-collapse: collapse | separate

Value

Constant values: collapse | separate

Initial Value

separate

Applies To

Table elements.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.