View Single Post
Old 07-27-2012, 03:45 PM   #28
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,970
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
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
}
.noindent {
text-indent: 0
}
.spacebreak {
margin-top: 2em
}
.center {
margin-top: .5em;
margin-bottom: .5em;
text-align: center
}
h2 {
margin-top: 1em;
margin-bottom: 1em;
text-align: center;
font-weight: bold
}
Code:
<h2>Chapter Header with space above and below at a good size</h2>
<p class="noindent">Paragraph with no indent</p>
<p>Paragraph with no indent</p>
<p class="spacebreak">Paragraph with space in front for a scenebreak</p>
<p class="center">A centered paragraph with space above and below the centered paragraph</p>
There you go for most cases. Also, widows and orphans are turned off.

Last edited by JSWolf; 07-27-2012 at 03:48 PM.
JSWolf is offline   Reply With Quote