|
|
#1 | |
|
Fledgling Demagogue
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,384
Karma: 31132263
Join Date: Feb 2011
Location: White Plains
Device: Clara HD; Oasis 2; Aura HD; iPad Air; PRS-350; Galaxy S7.
|
Paragraph Spacing Disappears in MP Creator
Can anyone answer this question? It was posed by an online friend. Any help would be very much appreciated.
Quote:
Last edited by Prestidigitweeze; 05-18-2011 at 04:25 AM. |
|
|
|
|
|
|
#2 |
|
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,560
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
The correct way to do vertical spacing in a Mobipocket book is to use the "height=" attribute of the <p> or <div> tag.
Eg: <p height="1em"> will leave a 1em space above the paragraph. |
|
|
|
|
|
#3 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,571
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
But Mobipocket Creator should convert the CSS margins, as far as I know...
|
|
|
|
|
|
#4 |
|
Connoisseur
![]() Posts: 75
Karma: 12
Join Date: Apr 2011
Device: ipad, kindle
|
The Amazon Publishing Guidelines state that: "The space before each paragraph can be changed using the “margin-top” style on tag <p>."
Unless i'm mistaken, the margin-top method is still okay, isn't it? I've never tried the alternatives. I hope it's still acceptable as I use it a lot :-) |
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,388
Karma: 14190103
Join Date: Jun 2009
Location: Berlin
Device: Cybook, iRex, PB, Onyx
|
Yes, margin-top in a css-file works, too. Both ways are possible.
Prestidigitweeze, has your friend played a little bit along it? Tried it with other measures like pt or em or with a smaller gap? |
|
|
|
|
|
#6 |
|
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,560
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Yes, it's not a good idea to specify paragraph spacing in pixels, since you almost certainly want it to scale with the text size.
|
|
|
|
|
|
#7 |
|
Fledgling Demagogue
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,384
Karma: 31132263
Join Date: Feb 2011
Location: White Plains
Device: Clara HD; Oasis 2; Aura HD; iPad Air; PRS-350; Galaxy S7.
|
When last I looked, Harry and Billi, this thread wasn't active. Now that it is, I'll present your findings and ask your questions. Thanks so much for the helpful responses.
|
|
|
|
|
|
#8 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
|
|
|
|
|
|
#9 |
|
Connoisseur
![]() Posts: 75
Karma: 12
Join Date: Apr 2011
Device: ipad, kindle
|
Kindle Creator?
|
|
|
|
|
|
#10 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Paragraph spacing | Banks | ePub | 2 | 08-09-2012 06:24 PM |
| Nook Paragraph Spacing | poppies | ePub | 3 | 04-21-2011 01:01 AM |
| What sort of paragraph spacing do you prefer? | bfollowell | Workshop | 4 | 10-27-2010 10:04 PM |
| Paragraph spacing | jhempel24 | Calibre | 5 | 08-24-2010 01:14 AM |