View Single Post
Old 04-15-2016, 03:10 PM   #25
mmat1
Berti
mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.
 
mmat1's Avatar
 
Posts: 1,197
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
Quote:
Originally Posted by fbrzvnrnd View Post
(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.
mmat1 is offline   Reply With Quote