The image is an inline element and has some empty space below it due to its alignment with the baseline.
To fix this, try:
#td2 img {display: block;}
or
#td2 img {vertical-align: bottom;}
Violin Demo: http://jsfiddle.net/audetwebdesign/WxrvC/
Note that you have indented 5 pixels above and to the right of the image, and I suggested that this is for styling.
In addition, the id attributes must be unique on the page, use the class , much easier to maintain and simplify the reuse of CSS rules.
Marc audet
source share