View Single Post
Old 03-13-2023, 09:07 AM   #49
Nightjar
Member
Nightjar began at the beginning.
 
Nightjar's Avatar
 
Posts: 14
Karma: 10
Join Date: Dec 2022
Location: Bologna, Italy
Device: Kindle Paperwhite, Fire HD8, 4, iPad 1st, 2th, 3th, 5th gen
Quote:
Originally Posted by JSWolf View Post
Looking at your sample, it would be very easy to fix it so it works with ePub 2.
Hmmm... Not so easy – at least for me – because I must find an effective fallback (ePub2-compatible) method for ePub3 and HTML5 tags, like for instance <section> and <figure>, without deleting them.

Quote:
Originally Posted by JSWolf View Post
Don't use rem, use em. Don't use px. Use em. For width, don't use calc. Don't use justify-content, use text-align.Don't use display: flex;. Just get rid of it. don't use vh. Use %.
Even after having applied to the code the changes above, the ebook still doesn't look right on a "prehistoric" viewer like ADE 2.0.
The main problems that still need to be fixed with ADE2 are:
  • Cover image oversized
  • Title page text with wrong font size and alignment
  • Copyright page with wrong font size and line height
  • Dedication page with missing vertical line, missing <br> and wrong text alignment
  • Chapter page with missing horizontal top line above chapter title, missing "no indentation" of the first word of each paragraph, wrong line height, missing <br> on citation text, all images are oversize, missing horizontal top line over endnote block
  • Author page with oversize image, missing "no indentation" of the first word of each paragraph, wrong line height
  • Suggested ebooks page with oversize images, missing <br>, missing "no indentation" of the first word of each paragraph, wrong line height
Of course, with the same code the ebook does look just fine with ADE 4 (and more recent viewers).
Please let me know if you can give me some more specific help. Thanks!
Nightjar is offline   Reply With Quote