Issue with Applying space between table body rows
Trying to make space between table rows just like in the image
Any workaround to achieve this
codepen:
https://codepen.io/Omar-Abroum/pen/gbpKVyj

14 Replies
you have to set a padding on the
<td>
i see you're applying the padding, but you're not applying to the sides
you have to do it for all the sides
also, you can just use grid
for the <tbody> and <thead>but applying padding to all sides to td won't give me the white space between the rows
it will
I just set
td {
padding: 1em 2em;
}

still no space between the rows
that is the spacing

this what I want to achieve
good luck
You could set
border-collpase:separate
on the table.
However you would then have to move the (red) border lines to the cells rather than the rows.
To then remove the dividing lines between the cells, you just define top and bottom borders on all the cells and specifically add a left border to the first cell and a right border to the last cell.

i forgot about border spacing
that does fit the bill
thank you so much chris