---
layout: single
property_name: border-collapse
---
Defines whether table borders should be separated or collapsed.
Each table cell will display its own borders. In this example, each cell has a
Adjacent table cells will merge their borders together. The cell that appears first in the code will "win": its borders will mask those of the following cells.
#border-collapse
默认属性
border-collapse: separate;
border-width of 4px. As a result, the border between two cells will be 8px.border-collapse: collapse;