"Paul Wötzel" <chef (AT) pp-page (DOT) de> wrote
Quote:
It doesn't matter which attribute you leave out (width or height) ... always
use height="100%" and there will be no problem with aspect ration. |
Hello Paul,
First I want to thank you for your reply.
But I have forgotten to mention that the cells of the table should
have a fixed width and height. The requirement is, that six cells (two
columns and three rows) fit on a A4 format (we need this for a report
which should have a fixed layout).
Then you have two possibilies:
Width of image is greater than height: use width="100%"
Height of image is greater than width: use height="100%"
If you do not, the cells will be expanded and then the six cells do
not fit on the A4 -> Problem here is that you need to know the
dimensions of the image which is not available!
Best regards
Stefan