View Single Post
Old 02-20-2013, 10:06 PM   #16
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,369
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
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.

Last edited by Turtle91; 02-20-2013 at 10:08 PM.
Turtle91 is offline   Reply With Quote