View Single Post
Old 06-15-2014, 08:39 AM   #3
macnab69
Zealot
macnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toys
 
Posts: 129
Karma: 5754
Join Date: Jan 2012
Location: South Africa
Device: Kindle 4
No breaks between paragraphs in thr html file. The preview pane in the editor shows no spacing between paragraphs. E-Book Viewer shows no gaps between paragraphs Live CSS shows all 4 margins 0.

The only place where there are gaps between paragraphs is on my Kindle.

But this is not true of all books. Just this one.

This is from a non-problem book:
Code:
<body class="calibre">

  <p class="calibre5">Mr Grope had a large, harmless face ... a piece to one spot. </p>

  <p class="calibre5">When he smiled, which ... and emaciated cats. </p>
From the problem book:
Code:
<body class="calibre">

  <p class="calibre4">“We could drive up there ... stupendous views. You <i>must</i> see it.”</p>

  <p class="calibre4">Harry had felt no such obligation, ... breathtaking. Nevertheless, he had raised no objection.</p>
Non-problem book:
Code:
.calibre {
  display: block;
  font-size: 1em;
  line-height: 1.2;
  margin: 0 0 0 0;
  padding-left: 0;
  padding-right: 0;
  text-align: justify;
}
.calibre5 {
  display: block;
  text-indent: 5%;
  margin: 0 0 0 0;
}
Problem book:
Code:
.calibre {
  font-size: 1em;
  line-height: 1.2;
  margin: 0 0 0 0;
  padding-left: 0;
  padding-right: 0;
  text-align: justify;
}
.calibre4 {
  display: block;
  text-indent: 5%;
  margin: 0 0 0 0;
}
Needless to say, the Live CSS computed final styles are identical.
macnab69 is offline   Reply With Quote