View Single Post
Old 09-02-2022, 03:14 PM   #56
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 786
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Sage
Quote:
Originally Posted by j.p.s View Post
What happens when margin is not specified at all for body text?
I removed my @page and body classes entirely from the stylesheet (so no margins or anything else set to anything specific). AFAICS, it looks the same on my Forma as it did with the @page and body styles present. So, for kepubs on a Forma, it looks like the margin settings on the device override those set in the book. Heck, it looks like the Forma overrides everything I had in my body classes.

Also, with my previous testing, I had an html set of styles set in that stylesheet (it was set on the body styling):

https://www.mobileread.com/forums/sh...d.php?t=348891

With that present, the Calibre Viewer used the margins set in the book over the margins set for the Viewer. But, when I removed the html styles, the behavior became the same as for the Kobo: the Calibre Viewer used its margin settings instead of the books'.

Last edited by enuddleyarbl; 09-02-2022 at 03:42 PM.
enuddleyarbl is offline   Reply With Quote