![]() |
#1 |
Member
![]() Posts: 19
Karma: 10
Join Date: Jun 2018
Device: iPhone X, iPad Pro (10.5")
|
Question re: vertical scrolling margins in Apple Books
I’m in the process of trying to figure out the best app/device/format in which to read my collection of ebooks. Since most of my devices reside in the Apple ecosystem, I’ve tried giving Apple Books a shot. When reading on my iPhone, I prefer to use vertical scrolling rather than turning the page due to the aspect ratio of the device. I’ve noticed that some books have absurdly wide margins when viewed this way (see my attached screenshot for an example). I’ve found that converting the epub to epub (I know that sounds redundant), and using the tablet output profile, will fix this margins issue. Unfortunately, it tends to add other formatting issues in the process (such as chapter headings no longer looking correct or weird formatting for block indented text). I’ve also attached a screenshot showing what I mean by this.
I don’t really know enough about the structure of an epub file to know how to begin troubleshooting this issue. I’m hoping someone here could point me in the right direction on how to fix the original issue with wide margins without messing up the rest of the ebook in the process. Last edited by issybird; 12-28-2020 at 04:28 PM. Reason: Thumbnail oversize images. |
![]() |
![]() |
![]() |
#2 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,560
Karma: 167913281
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Not sure if you have the capability yet but if you do, edit your message and use the Attachments tool to attach the image instead of placing it in the message.
|
![]() |
![]() |
![]() |
#3 |
Member
![]() Posts: 19
Karma: 10
Join Date: Jun 2018
Device: iPhone X, iPad Pro (10.5")
|
Sorry about that. It doesn’t look like I have the ability to edit my post. I’d delete it and repost, but I’m not sure if I can delete the post either.
|
![]() |
![]() |
![]() |
#4 |
o saeclum infacetum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,110
Karma: 234185759
Join Date: Oct 2010
Location: New England
Device: H2O, Aura One, PW5
|
I’ve attached the images. If you run into an issue with a post that you can’t fix (can’t edit, wrong place) report the post and a mod will attend to it.
|
![]() |
![]() |
![]() |
#5 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I'd guess that side margins are specified as a percent. According to the CSS specification a percent side margin is sized relative to the height of the element (which in the absence of more information could be the screen). Maybe in scroll mode the height is the whole book or chapter, which then makes the side margins larger. (Ignore this, it's actually the other way around.)
I don't think there's an automated solution to fix that and only that. But if you know the basics of CSS and peek into the book's code, it should be relatively easy to find and fix the offending rules (I usually remove all side margins in <p>, and <body>, and add a 2mm margin in @page). Last edited by Jellby; 12-30-2020 at 11:05 AM. |
![]() |
![]() |
![]() |
#6 | |
Member
![]() Posts: 19
Karma: 10
Join Date: Jun 2018
Device: iPhone X, iPad Pro (10.5")
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Please ignore what I said, it's bullshit. It's the other way around, percent in top/bottom margins is relative to the width. If you're getting larger margins in scroll mode, it could be that the reading software is applying a different default stylesheet, or that the style is doing something strange.
Still the solution would probably be the same: examine the CSS and fix some rules. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vertical Scrolling | aristide | Marvin | 2 | 01-23-2019 08:05 PM |
Vertical Scrolling | Ricky D'Angelo | Kindle Fire | 6 | 12-05-2018 10:40 PM |
Vertical scrolling | vs40 | Marvin | 1 | 10-22-2015 12:58 PM |
Vertical scrolling... | Holx | Marvin | 6 | 07-17-2014 04:35 PM |
Touch Vertical scrolling using app | holgalee | Nook Developer's Corner | 3 | 06-18-2012 09:29 AM |