View Single Post
Old 07-03-2023, 04:32 AM   #45
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,022
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Interrobang View Post
Per your suggestion, I changed the code as follows:
Code:
<body style="margin: 0; padding: 0; background-color:rgb(0,0,255)">
  <div style="margin: 0; padding: 0; text-align: center;">
    <svg xmlns="http://www.w3.org/2000/svg" height="100vh" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 1275 2100" width="100vw" xmlns:xlink="http://www.w3.org/1999/xlink">
      <title/>
      <image width="1275" height="2100" xlink:href="../Images/Title_Page.png"/>
    </svg>
  </div>
</body>
Sigil displayed it fine; ADE shrank the image to about 60%; and the tablet showed it the same size as the other attempts, with a border along the bottom.

I've attached a couple of screenshots so you can see what I'm seeing.
Take out vw and replace it with % and it will work.
JSWolf is offline   Reply With Quote