border-collapse
suggest changeThe border-collapse
property applies only to table
s (and elements displayed as display: table
or inline-table
) and sets whether the table borders are collapsed into a single border or detached as in standard HTML.
table {
border-collapse: separate; /* default */
border-spacing: 2px; /* Only works if border-collapse is separate */
}
Also see Tables - border-collapse documentation entry
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents