CSS2 Test Suite: 17.6.1 border-spacing

[index page] [section] [Previous] [Next] [Specification]

The style declarations contained within this page:

table {background: gray; width: 300px; border-spacing: 6px 3px;}
table td {background: #FF9; color: black;}
.cl1 {border-collapse: separate;}
.cl2 {border-collapse: collapse;}


The cells of the following 'table' element should be separated by six pixels horizontally, and three pixels vertically.

[cl1]r1c2r1c3
r2c1r2c2r2c3
r3c1r3c2r3c3

The cells of the following 'table' element should be not be separated.

[cl2]r1c2r1c3
r2c1r2c2r2c3
r3c1r3c2r3c3

[index page] [section] [Previous] [Next] [Specification]