Table Collapse Border
The CSS Table Collapse Border property it is used to set the border of a html table into a single border.
Table Collapse Border
<style>
table { border-collapse: collapse; }
table, th { border: 2px solid green; }
td { border: 1px solid green; }
</style>
Table Collapse Border example:
<html> <head> </head> <body>
Column1 | Column2 |
---|---|
cell1 | cell2 |
cell3 | cell4 |
Column1 | Column2 |
---|---|
cell1 | cell2 |
cell3 | cell4 |