Quote:
Originally Posted by fbrzvnrnd
(and - again - the height and width % are referred to the containing block, not the page. So, theoretically, the body).
|
Yes, but if there is no container with a limited size, then it refers to page.
I agree, that
max-height/width don't work as had I expected. (Hell, it would be too easy).
So the easiest solution for the Problem of the OP is to set height/width to 100% separately for each picture according to it's aspect ratio and orientation.