Quote:
Originally Posted by Quoth
The cover is about the ONLY thing were you set both 100% and only if you you don't care about aspect ratio.
If it's a square to landscape shape image (and likely portrait images not taller aspect than screen aspect) the height is auto if setting width and this maintains aspect ratio. It's not extra or unneeded code. A cover is a special case.
|
You should never use width and height both at 100% for the cover. Only use height of 100%. You would easily screw up the correct aspect ration.
In your 2nd example, the height is automatically auto if it's not specified. So setting height to auto is excess code that's not needed.
For example, when I do the code for the cover and the titlepage image, I do not set width to auto and I've never had a problem.
If the image is going to be too small even if the width is 100% such as a map, I rotate it so I can then set the height to 100%. Given it's on my Libra 2, I can just rotate my L2 to see the image right side up. I know that should not be done for a book for sale, but for your own use, it's perfectly acceptable.