Placing images in a table
Posted on 2000-04-24
Ok, this is a very simple problem that is driving me insane..
Whenever I try to place an image into a table, it always ends up leaving blank space at the bottom of the image. My code is as follows:
<TABLE WIDTH=100 HEIGHT=100>
<TD WIDTH=100 HEIGHT=100>
<IMG SRC="img.jpg" HEIGHT=100 WIDTH=100>
No matter what I play with, I can not get the image to either take up the entire height of the table, or align to the bottom of the table as opposed to the top.
Normally, I'd use a cheesy fix and just make the table background color the same as the image's, but I can't do that in this case. Any suggestions are greatly appreciated. Thanks.