Yes, I needed the div, but only to center the image on the screen in ADE/sony.
I was able to remove some default settings (height="100%" width="100%" preserveAspectRatio="xMidYMid meet") to trim it down, but I don't know if there is a device out there that HAS to have them. If you want to change the size, not full screen, you will have to have a height=x%
Quote:
<div style="margin:0 auto; text-align:center">
<svg viewBox="0 0 300 380" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink">
<image width="300" height="380" xlink:href="../Images/cover.jpg"></image>
</svg>
</div>
|
Unfortunately after more experimenting I found it works in Sigil, Sony, and ADE like you said, but the older kindle's, Kindle iOS (and Firefox ePubreader) don't see SVG at all - only the PW and Fires.