![]() |
#16 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Jan 2014
Device: Nook
|
|
![]() |
![]() |
![]() |
#17 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#18 | |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Jan 2014
Device: Nook
|
![]() Quote:
Thank you, everyone! ![]() |
|
![]() |
![]() |
![]() |
#19 | |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Jan 2014
Device: Nook
|
Quote:
QT? ![]() Last edited by SeaCanary; 02-01-2014 at 10:13 AM. |
|
![]() |
![]() |
![]() |
#20 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
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:
Editors, EDIT Nothing tests/shows the exact behavior except the targeted DEVICE. Go read some of the horror stories down in the EPUB forum |
|
![]() |
![]() |
![]() |
#21 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Jan 2014
Device: Nook
|
For the record, when I did this ...
Code:
.verse { margin-bottom: 0.5em; } .verse p { margin: 0; margin-left: 1em; text-indent:-1em; } .chorus p { margin-left: 2em; } I changed it to the following and the problem went away. Code:
.verse { margin-bottom: 0.5em; } .verse p { margin-bottom: 0; margin-top: 0; margin-right: 0; margin-left: 1em; text-indent: -1em; } .chorus p { margin-left: 2em; } |
![]() |
![]() |
![]() |
#22 |
Obsessively Dedicated...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,202
Karma: 34984330
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
|
You found the Nook bug -- it doesn't like margin settings in the "short form". (discussed on this thread: https://www.mobileread.com/forums/sho...d.php?t=223586.)
I'm trying to remind myself to always use the long form, explicitly defining margin-top, margin-left, etc. |
![]() |
![]() |
![]() |
#23 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
so if I buy a nook, I could have to re-code dozens of books, where I've tweaked & used margin: ?
that's a MAJOR flaw do all the nook range behave like that ? |
![]() |
![]() |
![]() |
#24 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
![]() |
![]() |
![]() |
#25 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
but that particular flaw looks very hard to fix via regex.
maybe appending a p {margin-bottom: value to the css, via the modify epub calibre plug in is sufficient to override what is in all single margin: lines ? |
![]() |
![]() |
![]() |
#26 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
Would changing
Code:
margin: 0; Code:
margin: 0 0 0 0; BobC |
![]() |
![]() |
![]() |
#27 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Would returning the Nook as a broken reader help?
Seriously, without some loud complaining from the users, they'll never improve the readers (and probably not with complaining either). |
![]() |
![]() |
![]() |
#28 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
anyway, if books have short margin CSS, you'd have to find all the shorthand instances, not just zero. e.g. I've used margin:1em; for a centered header |
|
![]() |
![]() |
![]() |
#29 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I consider both of those to be a 'short form'
I think REGEX done with 4 passes should catch all (not tested) margin\: 1em 2em 3em 4em; F: margin:\b(.+?)\b(.+?)\b(.+?)\b(.+?)\;* R: margin-top:\1; margin-right:\2; margin-bottom: \3; margin-left:\4; Note: the 'short form' is not limited to margin ![]() I like Jellby's idea. Send it back as a 'defective EPUB reader' |
![]() |
![]() |
![]() |
#30 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Jan 2014
Device: Nook
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blank Lines In Code | SeaCanary | Sigil | 3 | 01-22-2014 08:51 PM |
Streamlining Blank Lines in InDesign | Pumpkin Soup | ePub | 14 | 09-01-2012 08:14 AM |
Blank Lines | jreidu | Workshop | 2 | 07-20-2011 05:11 AM |
Blank lines between paragraphs? | ascherjim | OpenInkpot | 30 | 12-03-2009 12:19 AM |
Blank Lines | vivaldirules | Upload Help | 55 | 03-02-2009 03:17 PM |