![]() |
#1 |
Banned
![]() Posts: 19
Karma: 10
Join Date: Jul 2019
Device: Oasis 7"
|
KFX and negative margins?
So I had a problem whenever I converted from EPUB to KFX in that all of my ebooks have:
html { margin-right: -30px; margin-left: -30px; } ...added in their stylesheets, so that I can achieve negative margins and extend the reading area on screen. Whenever I convert from EPUB to KFX all of my headings become left aligned *unless* I remove the above code, or tick the 'ignore margins CSS' option in the conversion window. Is there any way to get negative margins in KFX? Or is this limited to EPUB/AZW3. I should mention that whenever I convert to AZW3 the negative margins are kept perfectly with no left alignment of headings. Thanks. |
![]() |
![]() |
![]() |
#2 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Please don't multi post.
Last edited by DNSB; 10-06-2020 at 11:03 AM. |
![]() |
![]() |
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#4 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Personally, I prefer to avoid negative margins. But then my ereaders of choice will go pretty much to the left/right edges of the display with those margins set to zero.
|
![]() |
![]() |
![]() |
#5 |
Banned
![]() Posts: 19
Karma: 10
Join Date: Jul 2019
Device: Oasis 7"
|
Calm down grandmas. Negative margins have been used by lots of people and it is fine.
Remove the posts if you don't want them here, if you don't know the answer don't reply? |
![]() |
![]() |
![]() |
#6 | ||
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
Last edited by DNSB; 10-06-2020 at 11:16 AM. |
||
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#8 |
Banned
![]() Posts: 19
Karma: 10
Join Date: Jul 2019
Device: Oasis 7"
|
I suppose you ought to do the same then eh?
1. "Try to be sensitive to others when you post, and tolerant of others when you read their posts." 2. Staying on Topic Read those guidelines guys come on now. As I said, delete the thread if it's in the wrong section, otherwise reply only if you have an answer related to the topic. As I also said, and as others on this very forum have said/know, negative margins are fine, work fine, don't do any harm to the device etc etc. |
![]() |
![]() |
![]() |
#9 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,749
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Anyway, I've used negative margins on KF8 and for one KFX and I did not notice any issue with the KFX.
Code:
html { margin-right: -45px; margin-left: -45px; } I'll give it another try and double check the results. Also, what version Kindle Previewer are you using? Is it the current version (3.46)? Last edited by JSWolf; 10-06-2020 at 11:59 AM. |
![]() |
![]() |
![]() |
#10 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Lets make this Official. Moderator Notice
Please fully read comply with all MR Guidelines. |
|
![]() |
![]() |
![]() |
#11 | |
Banned
![]() Posts: 19
Karma: 10
Join Date: Jul 2019
Device: Oasis 7"
|
Quote:
Current version. I fixed the issue. I can now use KFX books with all the typesetting *and* have negative margins. Seems I'm the first person ever to think of doing this and my solution works perfectly. |
|
![]() |
![]() |
![]() |
#12 | |
Banned
![]() Posts: 19
Karma: 10
Join Date: Jul 2019
Device: Oasis 7"
|
Quote:
Oh, and go f*** yourself you self righteous c***. Make that official you d***. Last edited by PeterT; 10-06-2020 at 02:54 PM. |
|
![]() |
![]() |
![]() |
#13 |
o saeclum infacetum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,290
Karma: 234636059
Join Date: Oct 2010
Location: New England
Device: Mini, H2O, Glo HD, Aura One, PW4, PW5
|
Tsk, tsk. We’ll miss having him around.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Assistance with Kindle Oasis 2, KFX, and margins. | Tomifonication | Amazon Kindle | 68 | 05-02-2019 09:32 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 |
Calibre removes negative margins as fake | EbokJunkie | Conversion | 8 | 11-30-2013 04:40 AM |
Using negative margins | Agama | Conversion | 0 | 03-03-2012 07:29 AM |