View Single Post
Old 04-14-2016, 08:21 AM   #19
fbrzvnrnd
Fanatic
fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.
 
Posts: 559
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
Quote:
Originally Posted by mmat1 View Post
Hi,
max-width/height are limits, which the picture must not exceed.
width: 100% sets the picture to the maximum size within these limits.

Consider, that there are 4 modes of viewing:
- the picture could be in a landscape or a portrait-shape.
- the user could have his device in portrait oder landscape-mode

the css should be fine for all 4 .

No, with your CSS, a high image, higher than wide, would end up off the page.
fbrzvnrnd is offline   Reply With Quote