11-14-2018, 09:07 AM | #46 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Simply use something like the following for extra css:
Code:
p { margin-left: -10px !important } Code:
body { margin-left: -10px !important } |
11-14-2018, 10:28 AM | #47 | |
Not Quite Dead
Posts: 194
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Perhaps I misunderstand what "Extra CSS" is supposed to do in the Conversion dialog options. I added, as suggested:
Quote:
|
|
Advert | |
|
11-14-2018, 10:32 AM | #48 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2014
Location: Brazil
Device: KV, kOA2, KPW1, KPW2, KPW4,KT1, KT3, KT4,kOBOS, Nooks, PRS-T2
|
It didn't work for me neither.
|
11-14-2018, 10:46 AM | #49 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2014
Location: Brazil
Device: KV, kOA2, KPW1, KPW2, KPW4,KT1, KT3, KT4,kOBOS, Nooks, PRS-T2
|
Wait! I think there's a catch here: It worked in a book, but not in another! Using the same process! What could be the difference ?
|
11-14-2018, 10:51 AM | #50 | |
Not Quite Dead
Posts: 194
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Quote:
|
|
Advert | |
|
11-14-2018, 11:08 AM | #51 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2014
Location: Brazil
Device: KV, kOA2, KPW1, KPW2, KPW4,KT1, KT3, KT4,kOBOS, Nooks, PRS-T2
|
In the test file sent by JimmyR it worked:
p { margin-left: -3%; !important margin-right: -3%; !important } But in most of the books I tested it did not; What could be the catch? Last edited by bnpssilva; 11-14-2018 at 11:14 AM. |
11-14-2018, 11:23 AM | #52 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2014
Location: Brazil
Device: KV, kOA2, KPW1, KPW2, KPW4,KT1, KT3, KT4,kOBOS, Nooks, PRS-T2
|
I think I got it!!! You have to mark off "look and feel->Margins" and "structure detection->Remove fake margins" !!
Thank you very much, kovidgoyal !!! |
11-14-2018, 11:24 AM | #53 | |
Not Quite Dead
Posts: 194
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Quote:
Last edited by Brett Merkey; 11-14-2018 at 11:33 AM. |
|
11-14-2018, 11:28 AM | #54 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2014
Location: Brazil
Device: KV, kOA2, KPW1, KPW2, KPW4,KT1, KT3, KT4,kOBOS, Nooks, PRS-T2
|
With the new settings above its working in all my tests so far. Thanks again to kovidgoyal !!!
|
11-14-2018, 11:44 AM | #55 | |
Not Quite Dead
Posts: 194
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Quote:
|
|
11-14-2018, 11:51 AM | #56 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2014
Location: Brazil
Device: KV, kOA2, KPW1, KPW2, KPW4,KT1, KT3, KT4,kOBOS, Nooks, PRS-T2
|
I don't understand. Its working for me just like that. For example, in the book I thought it was not working before, the body turn out like that, after conversion:
.calibre5 { border-bottom: currentColor none 0; border-top: currentColor none 0; display: block; padding-bottom: 0; padding-top: 0; text-indent: 1.5em; margin: 0 -3% } |
11-14-2018, 01:03 PM | #57 |
Addict
Posts: 229
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
bnpssilva
Would you like to try batch file described in my post #27? |
11-14-2018, 01:28 PM | #58 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2014
Location: Brazil
Device: KV, kOA2, KPW1, KPW2, KPW4,KT1, KT3, KT4,kOBOS, Nooks, PRS-T2
|
Hello, EbokJunkie. I'll try as soon as possible , and then let you know. The Calibre process described in post #52 worked for me anyway. Thank you.
|
11-16-2018, 01:52 AM | #59 |
Addict
Posts: 229
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
Tried your idea from post #52 on three epubs. Unfortunately, it worked for one book but has no effect on two another. I guess you will also run into books where extra-css option is powerless.
Last edited by EbokJunkie; 11-16-2018 at 01:55 AM. |
11-19-2018, 06:08 AM | #60 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2014
Location: Brazil
Device: KV, kOA2, KPW1, KPW2, KPW4,KT1, KT3, KT4,kOBOS, Nooks, PRS-T2
|
Indeed. In some epubs it didn't work. In these cases, I wiped out the CSS info, then repeated the process. Its a messy alternative, but worked.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best settings for 1:1 ePub to AZW3 conversion? | gers1978 | Conversion | 8 | 06-03-2013 10:50 PM |
azw3 to epub conversion stuck on 1% | krysk | Conversion | 2 | 04-21-2013 11:53 AM |
AZW3 to EPUB Conversion Probs | grizedale | Conversion | 4 | 04-16-2013 06:47 PM |
Conversion from epub to azw3 | Joy736 | Conversion | 12 | 01-01-2013 11:00 AM |
Using negative margins | Agama | Conversion | 0 | 03-03-2012 07:29 AM |