View Single Post
Old 11-01-2015, 10:58 PM   #106
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by Nick_1964 View Post
Later I found out that there is also an page-template.xpgt
So I guess everything patched in the reader, every extra rule with !important added to css will be overruled by the settings in misc: page-template.xpgt ??
Nick, could you send me a copy of the page-template.xpgt file that caused the problem? I have tried a number of the ones from book I have, but I can't find one that has any effect on the @page margins: they only seem to affect the body margins, so the `ePub fixed/adjustable top/bottom margins` patch still works.

Edit: Don't worry, I see the margins from the XPGT file are added to, rather than overriding, the @page margin from the CSS stylesheet, it is just that the ones I had tried all had very small margins set in the XPGT file so I didn't notice.

Last edited by GeoffR; 11-01-2015 at 11:26 PM.
GeoffR is offline   Reply With Quote