View Single Post
Old 11-06-2011, 10:34 AM   #15
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I know kindlegen can be very fussy about top AND bottom margins being simultaneously applied through CSS to <p> and other block tags. One or the other seems to get ignored at times. Especially if the margins are specified in em's. I've had better luck designing layouts where you can get the spacing you want with top-margins only. Or using pt's instead of em's.

Another trick is to run the epub through calibre's mobi conversion process. If the results look the way you want them to (on a Kindle or in Kindle previewer)... use MobiUnpack to see what's going on. Or even just feed the results of MobiUnpack (the opf file) to kindlegen.
DiapDealer is offline   Reply With Quote