All about display: block :)
Update
So you have the table, tr and td tags:
<table> <tr> <td> </td> </tr> </table>
Suppose your table or td (regardless of your width) has the width: 360px; property width: 360px; . Now, when you try to replace the html comment with the actual image and set this image property, for example width: 100%; which should fill the td cell completely, you will run into this problem.
Problem lies in the fact that your table cell ( td ) is incorrectly populated with an image. You will notice a place at the bottom of the cell that your image does not cover (it looks like 5px indentation).
How to solve this in the easiest way?
You work with tables, right? You just need to add the display property to your image so that it has the following:
img { width: 100%; display: block; }
source share