View Single Post
Old 02-24-2021, 02:27 PM   #7
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: 80,049
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Once I've converted to KF8, I load that into the eBook editor and if I am happy with the margins, I add in the snippet that puts in the negative margins. I do it in html and it work very well.

Code:
html {
  margin-right: -45px;
  margin-left: -45px;
  break-inside: avoid !important;
}
The break-inside line fixes an issue with centering with KFX using one of the Calibre plugins to generate KFX.

Last edited by JSWolf; 12-30-2022 at 03:45 PM.
JSWolf is offline   Reply With Quote