Syntax | selector {border-collapse: value;}
|
---|---|
Usage | The border-collapse property is used with tables to specify whether borders surrounding table cells are separate from, or shared with (collapsed into a single border), adjacent table borders. This property is specified by using a keyword according to the syntax shown above. |
Keywords |
|
Applies To | Elements that have a display property value of table or inline-table. |
Inherited | Yes |
Initial Value | separate |
The border-collapse properties are set to collapse and separate. |