so it seems the code needs to make changes depending on the aspect ratio of the screen. so, if the screen is of a wider moving to landscape orientation, then do this, but if a skinny portrait, then do that.
I doubt this would be possible in css, but the next best thing would be to lock it into displaying at a set aspect ratio in portrait, so that there is no chance of the screen shape changing. If you know the screen's aspect ratio, you should be able to set width and height dimensions depending on the ratio of the image.
Problem is, I'm only new to ebook editing and creation, so have no idea how to do that.
I'm also completely illiterate in svg, but I think that setting the display's aspect ratio would allow me to use css for the images.
I think that there would be less danger of setting width=100% if you could be certain of the screen's aspect ratio. (I'm guessing this is needed more for computers and phones/tablets than eInk readers)
|