View Single Post
Old 07-02-2009, 07:34 PM   #19
Ankh
Guru
Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.
 
Ankh's Avatar
 
Posts: 707
Karma: 2003741
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Touch
Question

Quote:
Originally Posted by radius View Post
Then, since there seems to be a slight preference on Mobileread among North American English readers to have paragraphs indicated by indenting but not indent the first paragraph, I would add something like this:

Code:
p {
    text-indent: 1.5em;
}

h2 + p {
    text-indent: 0em;
}
This should make most paragraphs have an indent of 1.5em but paragraphs that come after chapter headings have no indent.
I've seen pbooks where section breaks (thought breaks, asterisk break, type ornament) are followed by paragraph without an indentation. The more generic form:
Code:
p{
   text-indent: 0em;
}

p+p {
   text-indent: 1.5em;
}
would work for all of these cases, provided that section break markers (whatever they are, fleurons, asterisks, nonbreakable spaces) are enclosed in <div> block.
Ankh is offline   Reply With Quote