I'm having an issue with a table. I know I'm supposed to use divs, but there is no easy way to do the layout that I needed to achieve with divs.
Basically I've got a table that has 5 rows displaying a description, address, phone, and fax, then one that acts as a spacer. Next to that, using a colspan, is a cell that contains an image. Now this image should be no more than 350px in width, so I've put a div in the cell with the image inside it and used width: 350px, overflow: hidden. I'm not wanting to limit the height, but therein lies my problem. If the image is taller than the maximum height of the table, then all the cells get stretched in height. I need a way to make an "overflow" cell that will take up the rest of the height from the image.
For example, if my table is only 200px in height without the image, assuming equal cell height, each cell would be 40px tall. If my image is 400px in height though, that would make the table 400px high, stretching the height of each of the cells to 80px. I'd rather add an empty cell at the bottom of the table that can stretch to take up the extra height from the image, without affecting the rest of my cells.
Is something like this possible? It seems like it should be, and I can't shake the feeling that it has to do with colspan and rowspan, but I just can't figure out how to do it.
Also, I'm on a deadline, so a quick reply will be VERY much appreciated.