border-collapse | WebReference


Name: border-collapse

Description: Defines the type of border mode. Applies to tables only.

Browser Compatibility: IE 5+ / NN 7+

Inherited: Yes


Code Example:

table {border-collapse: separate; border-spacing: 10pt 5pt;}

Comments: Using the collapse value causes adjacent table cells to share borders; using the separate value causes all adjacent cells to have their own distinct borders. The separate value is used in conjunction with the border-spacing property.