I have trying to work this out for months, and Google hasn\'t helped me. I\'m trying to have spacing between
Had the same problem, the border spacing property was adding space around the table as well, and to my knowledge, there wasn’t anyway to limit it to only ‘the inside’, so I used transparent borders instead: This sets ‘border spacing’ as normal, except that there’s ‘unwanted’ spacing at the top and left of the table. Selects the first column. Selects the td elements of the first row (assuming that the top of the table starts with a tr element, change accordingly for th). and tags in a table,
table td {
border-left: 1em solid transparent;
border-top: 1em solid transparent;
}
table td:first-child {
border-left: 0;
}
table tr:first-child td {
border-top: 0;
}