Thread: Mysterious html
View Single Post
Old 04-19-2012, 03:06 AM   #19
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: 65,448
Karma: 43770933
Join Date: Nov 2006
Location: UK
Device: Kindle Voyage, iPad Mini, iPhone 4, MS Surface Pro, N7
Quote:
Originally Posted by travger View Post
Thank you for that tidbit! Now I won't scratch my head wondering where the empty line came from (in some future book)
Though <div height="0em"></div> specially says 'no blank line'.
No, you misunderstand. The "height=" parameter controls the spacing between paragraphs (specifically, the spacing between the current paragraph and the one above it). Setting "height=0" means "leave no space between this paragraph and the one above".

However, the "div" itself is a paragraph, and the "<div></div>" will create (on most Mobi devices, at least) a blank line. "<div></div>" is pretty much the same as "<br/>".

I'd suggest taking a look at the Mobi developer documentation. It explains how all this kind of thing works.

Hope that's of some help to you.

Last edited by HarryT; 04-19-2012 at 04:53 AM.
HarryT is offline   Reply With Quote