View Single Post
Old 06-18-2025, 03:41 PM   #22
Falkor
Connoisseur
Falkor began at the beginning.
 
Posts: 90
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
Quote:
Originally Posted by Quoth View Post
A new HTML file always starts at the top of the screen. (epubs converted to old mobi KF7, azw3/KF8 and KFX by Amazon or locally, and any epub renderer doing pages not continuous scrolling)
In such a case "padding-top: <value>em;" seems to always work for the first item, while some renders will remove margin-top at start of a screen and some
may remove margin-bottom at the bottom of the screen.
Wait, that's a problem from another thread. I'll reply there..
https://www.mobileread.com/forums/sh...=368530&page=7

Quote:
Originally Posted by Quoth View Post
Don't use any webkit or adobe or media queries if you want 100% compatibility, because even "fall back" code might fail.
It seems no matter what I do, I'll never be able to achieve 100% compatibility. Adding properties for different renderers seems to increase compatibility rather than breaking it in most cases.
Falkor is offline   Reply With Quote