CSS border collapse

CSS border collapse property is used to define the border of table to display collapsible.

HTML table tag when use to show table, By default, is a display as separate border model. The separate border model is a double border effect to display table. By default the border is separate format but if you want it collapse you can use this.



row1, column1row1, column2
row2, column1row2, column2

CSS border collapse values list

Sr. No.valueDescription
1collapseThis is Used to specify a table to display with collpase model. The value for this is collapse.
2separateThis is Used to specify a table to display with separate model. The value for this is separate.
3initialUsed to define as the property initial value.
3inheritUsed to define the computed value of property on the elements parent.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.