Quote:
Originally Posted by starrigger
I should add this: I've realized it's not just centering that's an issue in Nook and Aldiko display. Both of them want to indent every first line, so if you want a paragraph that begins flush-left, it's not enough not to have an indentation specification; you have to positively specify 0 indent.
|
Using my <p> code from my post above, use this...
Code:
.noindent {
text-indent: 0
}
And the code in the XML for the first paragraph after the chapter heading(s) is...
Code:
<p class"noindent">Text for the paragraph with no indent.</p>
There is nothing at all wrong with specifying a text-indent of 0 where needed.
Oh and lets put in a body CSS style...
Code:
body {
widows: 0;
orphans: 0;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
text-align: justify
}
You will have to replace all the <body class="calibre"> to <body> in every XML file. The widows and orphans being 0 will make it look better to most people as the screen pages will end at the same place in most cases.