View Single Post
Old 07-06-2023, 08:02 AM   #4
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,796
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 mg10 View Post
Hello
I'm not sure if this question should be asked in this forum. If so, please, let me know the best one.
This is a problem that appeared after converting from epub to azw3 with Calibre adding a css entry to reduce left and right margins. This works fine on my Scribe but not on my new PW11 after upgrading it to the latest firmware version.
After the upgrade, started some errors when opening or moving inside the books. If I don't include the code in the css page the converted book works fine but again appear the huge default margins.
The used code is:

html {
margin-left: -45px;
margin-right: -45px
}

And the error that appears in the books:
"An error occurred. If you purchased this item from Amazon, delete the item and download it from the Cloud."

Do you think it's a bug in the new firmware or can the code be modified to fix this behavior?
Thanks
Kindle PW5 with the latest firmware and negative margins work. This is the CSS code I use. I put it at the top of the CSS.
Code:
html {
  margin-right: -45px;
  margin-left: -45px;
  break-inside: avoid !important;
}
JSWolf is offline   Reply With Quote