02-11-2024, 03:16 PM | #1 |
Connoisseur
Posts: 77
Karma: 10
Join Date: Jul 2013
Device: Kindle Scribe, PW, Kobo Aura One
|
Error in azw3 books with negative margins to reduce them
Hi All
I retake this topic from Calibre forum because maybe here thare are more possibilities of answer. With my Scribe I'm using this option in Calibre (styles --> additional css), when converting from epub to azw3, in order to get desired margins: html { margin-right: -130px; margin-left: -130px; break-inside: avoid !important; } After updating a PW, I could see that this option caused an error when opening the book, or trying to change fonts: the one I indicated at the beginning of this thread: "An error occurred. If you purchased this item from Amazon, delete the item and download it from the Cloud" In order to avoid this behavior with my Scribe, I stay on an old firmware version because don't know if this error is going to be repeated in the Scribe. My question is: can someone who has 5.16.6 release or latest in a Scribe, confirm if this happens as well? Someone who uses Calibre and transfers the books through it. I'd like to avoid upgrading if I can no longer use the margins I like, because I won't be able to downgrade it. Thanks in advance |
02-11-2024, 03:47 PM | #2 |
the rook, bossing Never.
Posts: 12,283
Karma: 89822819
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Try a percentage -1.5% or only in the body text, not the html property, though that might be more work.
Leave out the Code:
break-inside: avoid !important; |
Advert | |
|
02-11-2024, 06:33 PM | #3 | |
Resident Curmudgeon
Posts: 76,122
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I use this and it works. I've even used it on a PW5. Code:
html { margin-right: -45px; margin-left: -45px; break-inside: avoid !important; } |
|
02-11-2024, 07:16 PM | #4 |
o saeclum infacetum
Posts: 20,590
Karma: 225000000
Join Date: Oct 2010
Location: New England
Device: H2O, Aura One, PW5
|
Moderator Notice
Please don't cross post. Report a post and ask for it to be moved. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error in azw3 books with reduced margins after conversion with Calibre | mg10 | Kindle Developer's Corner | 41 | 02-26-2024 10:41 AM |
Negative margins | Gandulf | Viewer | 6 | 02-24-2021 02:27 PM |
Conversion epub-->azw3 with negative margins | snoeki | Conversion | 60 | 12-07-2018 06:03 AM |
Negative margins | JSWolf | Kobo Developer's Corner | 0 | 07-08-2016 04:51 AM |
Using negative margins | Agama | Conversion | 0 | 03-03-2012 07:29 AM |