View Single Post
Old 03-07-2011, 02:44 AM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,359
Karma: 1048182
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Sony T2, Kindle Fire HDX 8.9 , Kindle for PC
another no indent for 1st para question

this book code is achieving the "no indent in 1st para" effect but I cannot suss the mechanism. it has the same styling as other paras. (the added calibre2 style is simply "block")

is it something to do use of new line for 1st line text ( which confusingly seems to have added space at start of line in html) ??
Code:
.....>1. Sorpen</h1>

  <p class="western1"><br class="calibre2" />
  The level was at his top lip now. Even with his head pressed hard back against the stones of the cell wall his nose was only just above the surface. He wasn't going to get his hands free in time; he was going to drown.</p>

  <p class="western1">In the darkness of the cell....
appearance
1. Sorpen

[no indent appears here
]The level was at his top lip now. Even with his head pressed hard back against the stones of the cell wall his nose was only just above the surface. He wasn't going to get his hands free in time; he was going to drown.


[1 em indent appears here ]In the darkness of the cell, in its stink and warmth...

.calibre2 {
display: block
}
.western1 {
border-bottom: 0;
border-top: 0;
display: block;
font-family: "Times New Roman", serif;
font-size: 1em;
line-height: 1.2;
margin-bottom: 0.3em;
margin-top: 0;
orphans: 2;
padding-bottom: 0;
padding-top: 0;
text-indent: 1em;
widows: 2
}


PS what do widows & orphans settings in style do, in an ebook - are they redundant ? google tells me they are (paper) pagination controls

Last edited by cybmole; 03-07-2011 at 02:54 AM.
cybmole is online now   Reply With Quote