![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
|
AZW3 book margins
I'm converting an AZW3 ebook with left-justified (ragged edge) margins, and when I click the 'justify text' option the margins remain ragged. How do I get them to justify?
|
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Time to look at the code with the editor.
There are so many different ways to (validly) code, that a 1 click solution is not guaranteed to always win. Left may be coded at many levels, even though it was redundant. I will assume the Kindle is NOT set to override the stylesheet. I also found I had to delete the book from the Kindle, and resend, before my style revisions would 'take' (and it took me 5 times before I found all the places that affected the look I was aiming at). |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Book E d i t o r
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
Open Edit Book, click on the .css file, and add or change the following to the paragraphs CSS rule:
text-align: justify; |
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Do not convert. Use the Calibre editor to edit the AZW3 file and in CSS where it says text-align: left, put in text-align: justify and if there isn't a body style, put one in. If there is one, edit it. In body, you want text-align: justify
Last edited by JSWolf; 10-27-2017 at 06:24 PM. |
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
|
Thanks, guys. I'll try out what you suggest and report back.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conversion epub-->azw3 with negative margins | snoeki | Conversion | 60 | 12-07-2018 06:03 AM |
Epub to AZW3, TOC margins off, text OK | Ma'am-I-Am | Conversion | 0 | 10-18-2014 07:40 PM |
Is it possible to remove the margins in book reading mode? | Barty | Kindle Developer's Corner | 16 | 11-09-2010 09:28 PM |
Bought book with huge margins | Canterbury Tail | Sony Reader | 3 | 08-12-2008 12:12 PM |