View Single Post
Old 09-14-2011, 06:48 PM   #93
Phil_C
Addict
Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.
 
Phil_C's Avatar
 
Posts: 277
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
Quote:
Originally Posted by BCotton View Post
How do you do that, increase the line spacing? I have seen people use these together:

p { line-height: 130% }
div { line-height: 130% }

Do you need both?
I don't really do HTML, but use a series of programs to get the results I want. Because of the way I started making LRFs with Book Designer, it developed that I now use BD to save as an HTM file. Next is Sigil to adjust font and chapters. Finally Calibre.

So I'm not sure what takes precedence when.

Here is what is in Sigil:

Code:
    body.sgc-8 {FONT-WEIGHT:normal; 
FONT-SIZE:small; 
MARGIN-BOTTOM:245px; 
LINE-HEIGHT:131%; 
FONT-FAMILY:GeorgiaEInk15}
And this is what I use to run through Calibre:

Code:
@font-face {
 font-family: GeorgiaEInk15;
 font-weight: normal;
 font-style: normal;
 src: url(res:///Data/fonts/GeorgiaEInk15.ttf);
}
@font-face {
 font-family: GeorgiaEInk15;
 font-weight: bold;
 font-style: normal;
 src: url(res:///Data/fonts/GeorgiaEInk15Bold.ttf);
}
@font-face {
 font-family: GeorgiaEInk15;
 font-weight: normal;
 font-style: italic;
 src: url(res:///Data/fonts/GeorgiaEInk15Italic.ttf);
}
@font-face {
 font-family: GeorgiaEInk15;
 font-weight: bold;
 font-style: italic;
 src: url(res:///Data/fonts/GeorgiaEInk15-BoldItalic.ttf);
}
body {
 font-family: GeorgiaEInk15;
 line-height: 131%;
}
My guess is that BD puts out kind of strange HTML. So I don't know how to control my end result in a more efficient way. But this works in the end.

Maybe these examples will at least give you more information.
Phil_C is offline   Reply With Quote