Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-18-2025, 09:06 PM   #106
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Falkor View Post
continued from here: https://www.mobileread.com/forums/sh...55#post4519655



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.
That sounds rather convoluted when it should be very simple.
JSWolf is offline   Reply With Quote
Old 06-20-2025, 02:00 PM   #107
Falkor
Connoisseur
Falkor began at the beginning.
 
Posts: 89
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
Right, I would have expected a margin to simply work...
Falkor is offline   Reply With Quote
Advert
Old 06-30-2025, 05:16 PM   #108
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 316
Karma: 3200000
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Quote:
Originally Posted by Falkor View Post
Right, I would have expected a margin to simply work...
I believe this is due to the way the box model works. Margin needs something to push off of, because it's on the outside of the element. Padding is instead a part of the element, so that space is always there. Though why margin would sometimes work for the first element, and sometimes not, I couldn't say. Seems like, in theory, that should never work. I always err on the safe side and assume it won't.
phillipgessert is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Styling based on class/existing styling 1ily Calibre 8 03-17-2025 06:37 AM
Incorrect styling with specific CSS quiris Marvin 9 07-04-2016 01:04 PM
Missing CSS properties roger64 KOReader 0 06-01-2016 06:39 AM
inspect image properties /replace image cybmole Sigil 6 02-05-2013 12:46 PM
Unsetting properties in CSS Jellby ePub 2 06-03-2009 04:29 AM


All times are GMT -4. The time now is 03:08 AM.


MobileRead.com is a privately owned, operated and funded community.