3
I need to draw a table with the following feature: That each row has a margin-bottom of 8px.
The red highlight is the distance between the lines.
The question is to be able to add only where I wish. The problem of the combination border-Collapse and border-Spacing: 8px is that it accepts only 2 parameters! (So, if I increase the right spacing, the left spacing also increases, and if I add spacing above, automatically below it also adds.) And the ideal would be to be able to manipulate only one of these directions!
Thank you!
As far as I know, with
border-spacing
you will only achieve this result even: up and down / left and right. You can use a low size, for example, 2px. Thus, when rendered the first and lasttd
will have an almost imperceptible spacing (the2px
), while in the middle will have a spacing of4px
(2px from above + 2px from below). I don’t know if I could explain well.– Renan Gomes
I understood what you meant yes. However, unfortunately, it fails to achieve the ultimate goal this. But thanks for the help!
– Wesley Redfield