Thread: editing
View Single Post
Old 11-01-2011, 08:29 AM   #8
Jabby
Jr. - Junior Member
Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.
 
Posts: 586
Karma: 2000358
Join Date: Aug 2010
Location: Alabama
Device: Archos, Asus, HP, Lenovo, Nexus and Samsung tablets in 7,8 and 10"
Quote:
Originally Posted by Arktel View Post
And I changed the para style indent to 1.7 mm so the indents are fixed but not line spacing. (what is em?)
Here is a link to a definition of "em":

http://en.wikipedia.org/wiki/Em_%28typography%29

In epub parlance it's pretty much the same. Since most epubs are read using mobile readers it is better to stay away from fixed measures. If you specify a fixed indent and the reader increases the font size, the indent will be relatively smaller and look strange.

Here is an example of a minimal paragraph css.
.para {
display: block;
margin-top: 0;
margin-bottom: 0;
text-indent: 1.5em;
}
You can control the line spacing by adding "line-height:X.Xem;" to the above.
Invoked by <p class="para">paragraph text stuff</p>

The "margin" statements gives you single line spacing.
Quote:
Three times I deleted all the </p> text in the code at the end of the sentence where there was one too many line spaces following and saved the changes but nothing changed.
Since every <p> must have a </p>, maybe Sigil re-inserted them.

I'm new to this stuff myself so if some you old hands correct me, I won't be offended .

Regards - John

Last edited by Jabby; 11-01-2011 at 08:42 AM.
Jabby is offline   Reply With Quote