In an HTML table, the cellpadding
and cellspacing
can be set like this:
-
2020-11-22 02:22
You can simply do something like this in your CSS, using border-spacing
and padding
:
table {
border-collapse: collapse;
}
td, th {
padding: 1em;
border: 1px solid blue;
}
head_1 |
head_2 |
head_3 |
head_4 |
txt_1 |
txt_2 |
txt_3 |
txt_4 |