View Single Post
Old 06-18-2025, 03:46 PM   #105
Falkor
Connoisseur
Falkor began at the beginning.
 
Posts: 90
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
continued from here: https://www.mobileread.com/forums/sh...55#post4519655

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.
Interesting, I thought it was just be a new bug in the Tolino renderer. Older version handle margins at the top of a page just fine. And it's never been a problem in any other reading software I tried.

Using padding instead of margin will work in most cases. And if I need an actual margin, I can always place a zero height div at top of the page... That does fix the issue.

Last edited by Falkor; 06-18-2025 at 03:51 PM.
Falkor is offline   Reply With Quote