I need to create a specific margin between two rows in a table.
In my css code, I have the following snippet:
background-color: #72c2dd;
margin-top: 25px;
The background-color
is being applied correctly, but the margin-top
property is not working as intended. (see screenshot below)
This issue applies to the entire table.
All other styling properties are functioning properly, except for the margin
.
Any assistance would be greatly appreciated.
The image on the left shows how it should look, while the image on the right displays how it currently appears (without the top margin applied to the second row).