![]() |
#1 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 515
Karma: 1470724
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
|
Problem with some titles that have major margin issues
I have some titles that have major margin issues in Calibre viewer. The margins seem to be off the page and change with every page (getting worse). For some reason things look ok in the editor and horrid in the viewer.
Any suggestions on how best to handle this problem is welcome. Can't upload a copy of this as it is not my personal work. |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,959
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
![]() Cascading styles, instead of maintaining a Block Validate the Stylesheet at W3C, there is probably a colon or semicolon in the wrong place(very hard to spot visually) |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 515
Karma: 1470724
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
|
Would that be an issue with a retail book? Just curious as this is a retail book that I converted to epub.
|
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,959
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:
(Retail, simply means that it was sold, not home made ![]() Even BPH crank out cr*p because they hire coders that can't even follow 'House Stylesheet' rules. Even Baens (conversion?) EPUBs include an additional nested Div for each chapter split, so by the 10th chapter, the CODE is indented half way across the screen. I have a 'BaenDeDiv saved search&replace that I run against all files (sometimes as many as 50 passes). The book looks fine. The code was bloated and Ugly. I suspect you have a bad case of nested Blockquote (they should have used a Div (or nothing) ) Amateurs (coders): They come in all kinds. Top Quality to 'Not a clue" If the book won't validate (with no red error level), I can figure where they fall. Validate, is only the first step Next is getting rid of code that only appears to work (Calibre class viewers tolerate lots of cr*p that many devices abort or lockup on) stuff like: Code:
<p></p> <span> </span> ![]() |
|
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,180
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
Code:
bernie |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,959
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:
![]() |
|
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
This problem only seems to occur when all of these conditions exist: * The "Text layout in paged mode --> Override the page margin settings specified in the book" option is un-ticked in the ebook-viewer preferences. * The publisher hasn't specified a @page margin style in the book's stylesheet. Edit: * The publisher has used a percentage value for the body margin in the book's stylesheet. Easiest work-around is probably just to tick the "Override the page margin settings specified in the book" option. (Edit: The problem I experienced has been fixed in Calibre 2.64, not sure if it is quite the same problem the OP had though.) Last edited by GeoffR; 08-31-2016 at 10:32 PM. Reason: Fixed in Calibre 2.64 |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New to H2O and need help with margin issues | sparklemotion | Kobo Reader | 23 | 01-25-2015 10:31 PM |
K5 Margin issues ? | wolw | Amazon Kindle | 1 | 08-12-2012 12:07 PM |
Touch My Kobo is having major issues... PLEASE HELP | Looler | Kobo Reader | 10 | 02-24-2012 10:56 PM |
PRS-505 Any major issues with larger than 2GB SD cards? | avariel | Sony Reader | 6 | 09-07-2011 06:07 PM |
Major issues with eBook Library v2.2 - Sony Support Acknowledges | MSWallack | Sony Reader | 69 | 08-16-2009 12:08 PM |