Quote:
Originally Posted by Falkor
I found the error: I had SVG height set to 100vh in the style sheet (the svg still had 100% height as an attribute in the html file – apparently attributes don't have priority over CSS, unlike inline-styles)
No more problems with captions on on the picture – but I can still make them split in Books and ADE 4.5. Your test file as well.
|
You opened my epub in ADE,
and I said that you should open it in Thorium and Calibre Viewer (because you had said that the code wouldn't look fine in those ereaders). Open my epub in those ereaders please (there it should look fine, as you could see in the screenshoot I posted). ADE 4.x DOESN'T HONOR the property "calc()", so it's neccesary to write special code to deal with ADE 4.x and captions (ADE 4.x is an issue, because it also lacks support for @supports and makes it a little harder to write alternative code).