View Single Post
Old 01-28-2019, 02:10 PM   #7
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,834
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by momoha View Post
I think that the code that I suggested is much more convenient as no calculation has to be made, and no size has to be written in the ePub.
Your code doesn't work well with css2 and epub2 You need to employ css3 and there is not many ereaders that support that protocol right now. The issue is because you are using "vh" (instead of "%") and that measure unit is not well supported by ADE under epub2. Try your code in ADE with an epub2 and see what happens. Even the <figcaption> tag is not supported (under epub2). Indeed, with my code you need to do some calcs and write a bit more, but works, even with epub2

And, regrettably, the handle of svg images under ADE with epub3 is buggy. I don't know why they didn't fix that thing because is an older issue. Moreover, epub3 under ADE is based on the Readium engine (while epub2 is based on RMSDK), but Readium FIXED that problem. I can't understand the Adobe behaviour. I had to work a lot to find a partial workaround to manage svg under epub3 with ADE.

Last edited by RbnJrg; 01-28-2019 at 02:21 PM.
RbnJrg is offline   Reply With Quote