border-collapse

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

CSS2

Syntax

border-collapse: collapse | separate | inherit
Initial: separate
Applies To: table and inline-table elements
Inherited: yes
Percentages: NA
Media: visual

DOM

[window.]document.getElementById("element-id").style.borderCollapse = "border-collapse";

Example | collapse

Example | separate

Example | DOM

External

W3C Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification