View Single Post
Old 09-07-2013, 07:36 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by boatat72 View Post
Thanks for looking Toxaris.
The book is in 100 HTML files, each small enough that Calibre does not split them, otherwise I get page breaks where I don't want them. This makes it slow to open in Sigil as it goes through 'tidy' but I can live with that.
The book validates with the Sigil check and with the pagina EPUB Checker.

A typical entry now looks like

<div class="inset" style="text-align: left;">
<b>Old Place</b><br />
Location<br />
New Place<br />
Date of change
</div>

The class="inset" creates a margin. I could achieve the same effect by putting every single line in a <p>.
There would then be 200,000 <p>'s in the book, that's a lot of code.
Do you think this would this be worth the effort involved?
<div or <p
similar except I don't think <div has default margins, but you don't care as you have controlled the style.

IMHO your example shows a reasonable condition of when to use <br instead of a new <p or <div
theducks is offline   Reply With Quote