Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 05-18-2011, 03:12 AM   #1
Prestidigitweeze
Fledgling Demagogue
Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.
 
Prestidigitweeze's Avatar
 
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:
When I code in HTML a blank space above a paragraph, either by inserting <br> six times, or putting style="margin-top:100px;" into the p class tag, then run the file through Mobipocket Creator, the blank space shows up fine when I look at the ebook in Kindle for PC. But when I transfer the file over to my handheld Kindle and look at the ebook, the blank space no longer shows up. Is this just a Kindle bug, or does anybody know if there's a work-around for the problem? Thanks in advance.

Last edited by Prestidigitweeze; 05-18-2011 at 03:25 AM.
Prestidigitweeze is offline   Reply With Quote
Old 05-19-2011, 04:56 AM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
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.
HarryT is offline   Reply With Quote
Advert
Old 05-19-2011, 05:56 AM   #3
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,544
Karma: 19001583
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...
Jellby is offline   Reply With Quote
Old 05-19-2011, 06:26 AM   #4
Stodder
Connoisseur
Stodder began at the beginning.
 
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 :-)
Stodder is offline   Reply With Quote
Old 05-19-2011, 06:51 AM   #5
Billi
Wizard
Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.Billi ought to be getting tired of karma fortunes by now.
 
Billi's Avatar
 
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?
Billi is offline   Reply With Quote
Advert
Old 05-19-2011, 08:18 AM   #6
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
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.
HarryT is offline   Reply With Quote
Old 05-19-2011, 11:08 AM   #7
Prestidigitweeze
Fledgling Demagogue
Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.Prestidigitweeze ought to be getting tired of karma fortunes by now.
 
Prestidigitweeze's Avatar
 
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.
Prestidigitweeze is offline   Reply With Quote
Old 05-19-2011, 12:53 PM   #8
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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
Quote:
Originally Posted by Jellby View Post
But Mobipocket Creator should convert the CSS margins, as far as I know...
I believe Mobipocket creator is less capable than Kindle Creator in this regard.

Dale
DaleDe is offline   Reply With Quote
Old 05-19-2011, 07:40 PM   #9
Stodder
Connoisseur
Stodder began at the beginning.
 
Posts: 75
Karma: 12
Join Date: Apr 2011
Device: ipad, kindle
Kindle Creator?
Stodder is offline   Reply With Quote
Old 05-19-2011, 08:24 PM   #10
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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
Quote:
Originally Posted by Stodder View Post
Kindle Creator?
Kindle Generator I meant.

Dale
DaleDe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Paragraph spacing Banks ePub 2 08-09-2012 05:24 PM
Nook Paragraph Spacing poppies ePub 3 04-21-2011 12:01 AM
What sort of paragraph spacing do you prefer? bfollowell Workshop 4 10-27-2010 09:04 PM
Paragraph spacing jhempel24 Calibre 5 08-24-2010 12:14 AM


All times are GMT -4. The time now is 03:45 PM.


MobileRead.com is a privately owned, operated and funded community.