Quote:
Originally Posted by mmat1
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.