#myTable
border-spacing
0px|
1px|
2px|
5px|
10px|
50px|
0px 50px|
1px 5px|
5px 1px|
10px 0px|
20px 30px
A table cell |
A table cell |
A table cell |
A table cell |
A table cell |
A table cell |
A table cell |
A table cell |
A table cell |
A table cell |
A table cell |
A table cell |
CSS border-spacing
Demo of the different values of the border-spacing property.
Click the property values below to see the
result:
Play more with the code in our Tryit yourself editor:
Try it Yourself ❯