View Single Post
Old 03-25-2012, 12:41 PM   #6
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
Quote:
Originally Posted by zippitydoda View Post
I tried the option to remove space after paragraph, but that didn't work. There is still a Line
feed after every bullet and number. Any other thoughts?
How are you coding your list??

This code produces no extra line between bullet items when converted ePub>MOBI with either Calibre 0.8.44 or KindleGen2 (via Previewer 2):

Code:
<p>Bullet (unordered list):</p>
<ul>
  <li>Item 1</li>
  <li>Item 2</li>
  <li>Item 3</li>
</ul>
<p>what does it look like?? </p>
If you are referring to the "extra" blank line before and after the whole list, that's default behavior in the Kindle readers and most browsers. If you want to remove those spaces you need to style the <ul> tag. With this in the CSS the block of list items is set tight to be paragraph before and after:

Code:
ul {
  margin-top: 0m;
  margin-bottom: 0m;
  }
(note: The display in Sigil does not respect this CSS although ADE (on Windows) and calibre's ePub>MOBI conversion engine do.)

Interestingly, even without the CSS, the Preview/KindleGen2 conversion resulted in 1em spaces before and after the <UL> block when viewed on the Fire (KF8 partition) but was set tight as if the CSS was present when viewed on a K3 (PRC/MOBI partition)

Last edited by dwig; 03-25-2012 at 12:47 PM.
dwig is offline   Reply With Quote