Quote:
Originally Posted by roger64
The end result is that it displays very exactly on this kind of display without any vertical margin. Obviously, due to the shape of the image, a whitespace is automatically left out on both sides (this is the result of the "auto" job). In this particular case, a 6% whitespace will appear on each side. Again, it's the consequence of the undistorted image shape, and is not related to the margins of the document.
|
Thanks for the explanation. In that case this might be the better example for you. It preserves the aspect ratio.
Code:
<div>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 1252 2024" preserveAspectRatio="xMidYMid meet">
<image width="1252" height="2024" xlink:href="cover1.jpeg"/>
</svg>
</div>
Full Titlepage code