HTML and CSS Reference
In-Depth Information
Name
border-collapse
Values:
collapse | separate
Initial value:
separate
Applies to:
Elements with a display value of table or inline-table
Inherited:
Yes
Computed value:
Same as declared value
Description:
Defines the layout model used in laying out the borders in a tableā€”i.e., those applied to cells,
rows, and so forth. Although the property applies only to tables, it is inherited by all the ele-
ments within the table and actually used by them.
Examples:
table {border-collapse: separate; border-spacing: 3px 5px;}
Note:
In CSS2.0, the default value was collapse .
Search WWH ::




Custom Search