Hi, everyone,

This might be very simple but if it is, I just can't see it.

I have a single table cell of arbitrary width and height. In that table cell I want to display an image that must be aligned with the top of the cell, with a caption below it that must be aligned with the bottom of the cell. In other words, the gap between image and caption must vary to fill up whatever space is left. Like so:

Code:
+----------------+
|   +---------+    |
|   |    img     |    |
|   +---------+    |
|                       |
|                       |
|                       |
|      caption       |
+----------------+

Can this be done using CSS? If so, how? Or is it simply impossible to reliably assign different positioning to elements within the same table cell?

All suggestions appreciated. Thanks in advance!

// FvW