Quote:
Originally Posted by theducks
While I don't recommend it
Every Paragraph can have it's own style (marhins; Indents; Justification...)
D'oh! that is what a stylesheet is for.
My basic preference is just a few styles, with special cases added as needed (A Lean- Mean Stylesheet)
Body sets the overall style
.chapno < the chapter head: with top and bottom margins
.firstpara < usually no indent
.normalpara < indented
|
You have your ePub even more crowded then I'd have mine.
I would use <p>text.</p> and have the p style set to what I want including the indent.
Then for a nonindent style...
Code:
body {
widows: 0;
orphans: 0;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
text-align: justify
}
p {
margin-top: 0;
margin-bottom: 0;
text-indent: 1.2em
}
.nonindent {
text-indent: 0
}
.spacebreak {
margin-top: 2em;
text-indent: 0
}
<p class="nonindent"> is for a paragraph to start with no indent at all. <p class="spacebreak" is for the space in a section break right before this paragraph.