Skip to content Skip to sidebar Skip to footer

Spacing In A Table

I'm trying to setup a table in html. Below is a screenshot of part of it. As you can see, there is a horizontal white strip between the image and the cell below, which I cannot ge

Solution 1:

Add

vertical-align: top;

to the element style of the image. That's because the image is treated as text and so line-height and font-size also take effect.

Post a Comment for "Spacing In A Table"