View Single Post
Old 01-30-2021, 01:30 PM   #3
413Michele
Enthusiast
413Michele began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Jan 2021
Location: Italy
Device: Kobo Libra 2, Kindle Paperwhite (1st gen)
Quote:
Originally Posted by Jellby View Post
<img height=...> is HTML, <img style="height:..."> is CSS (I mean the height part is CSS).

In HTML height is a number, in pixels, don't use it. In CSS height can have many units.
Understood, thanks

Thinking back I think I caused the problem by updating from EPUB2 to EPUB3 with calibre, it left behind some tagging problems.

Later I dug some more in my files and I found similar "update caused" problems like in table borders (e.g. a table can't have the HTML tag border=0 anymore) and in the alt="" inside an <svg><image> tag, that was considered wrong in EPUB3 but not in EPUB2.

I resolved them manually, but I wonder if I should point them out in the calibre bug tracker, as their origin is probably the book editor. There are problems only with strict interpreters like Google Play Books though, so it's not very important
413Michele is offline   Reply With Quote