Menu Riverview Church

BORDER-COLLAPSE

The border-collapse property selects a table's border model.

SYNTAX

CSS

border-collapse: value;

JS

object.style.borderCollapse = "value";

VALUES

<'border-collapse'> = separate | collapse
separate

The borders of adjacent cells are separate.

collapse

The borders of adjacent cells are merged together, such that each cell draws only half of the shared border.

INITIAL

separate

EXAMPLES

COLLAPSE

SEPARATE

JS

World Wide Web Consortium (W3C)