images in tables

liunx

Guest
Okay, this one is really bothering me. I have a table cell that is 100 x 100, and i also have an image in that cell that is 100 x 100. Now, it fits perfectly on the x axis, but there is a strip of empty space about 5 pixels wide on the bottom of the image. I don't like this. It expands the cell a little bit, but for no apparent reason. If anyone knows how to fix that, I would really appreciate it. <br />
Thanks,<br />
Matt.<!--content-->Have you set the table cellpadding to "0"?<!--content-->cellpadding is 0, cellspacing is 0. i really have no clue why it doesn't work. i tried just making a very simple table with just one cell in it, and I still have the same problem.<!--content-->Make sure your closing </td> tag is right after your closing <img> tag...on the same line, if possible<br />
<br />
<br />
<td><img src=http://www.webdeveloper.com/forum/archive/index.php/"mypic.gif"></td><!--content-->That's it! Thank you so much. That was really bothering. You've helped me out so much.<br />
Laters,<br />
Matt.<!--content-->I'm glad<!--content-->
 
Back
Top