|
|
#46 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,626
Karma: 28549046
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 }
|
|
|
|
|
|
#47 | |
|
Not Quite Dead
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 195
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 | |
|
|
|
|
#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.
|
|
|
|
|
|
#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 ?
|
|
|
|
|
|
#50 | |
|
Not Quite Dead
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 195
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Quote:
|
|
|
|
|
| Advert | |
|
|
|
|
#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 12:14 PM. |
|
|
|
|
|
#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 !!!
|
|
|
|
|
|
#53 | |
|
Not Quite Dead
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 195
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Quote:
Last edited by Brett Merkey; 11-14-2018 at 12:33 PM. |
|
|
|
|
|
|
#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 !!!
|
|
|
|
|
|
#55 | |
|
Not Quite Dead
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 195
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Quote:
|
|
|
|
|
|
|
#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% } |
|
|
|
|
|
#57 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
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? |
|
|
|
|
|
#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.
|
|
|
|
|
|
#59 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
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 02:55 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 11:50 PM |
| azw3 to epub conversion stuck on 1% | krysk | Conversion | 2 | 04-21-2013 12:53 PM |
| AZW3 to EPUB Conversion Probs | grizedale | Conversion | 4 | 04-16-2013 07:47 PM |
| Conversion from epub to azw3 | Joy736 | Conversion | 12 | 01-01-2013 12:00 PM |
| Using negative margins | Agama | Conversion | 0 | 03-03-2012 08:29 AM |