HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

border-collapse

Description

The border-collapse property for CSS 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

1 · collapse

2 · separate

3 · JS