View Single Post
Old 08-20-2012, 07:44 PM   #2
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: 38,567
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by Kittybriton View Post
Code:
body {font-family:"Palatino Linotype", Georgia, serif; 
	text-align: justify; 
	line-height:100%;
	}

h1 {font-family: "Palatino Linotype", serif; 
    font-weight: normal; 
    font-style: italic;
    font-weight: bold;
    color: rgb(24, 136, 173);
	text-align: center;
	line-height: 110%;
    }
Code:
body {
font-family:"Palatino Linotype", Georgia, serif; 
text-align: justify;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
widows: 0;
orphans: 0
}

h1 {
margin-top: 1em;
margin-bottom: 1em;
font-style: italic;
color: rgb(24, 136, 173);
text-align: center;
}
I've changed the code as you can see. You left out margins for the header for the chapter. Also you've left out the margins in the body style. But to be honest, I personally prefer h2 for chapter headers. Also, unless you are changing the font, you don't need to have the font-family line that you have in body as that is now the default unless another style overrides that. The widows and orphans being 0 is a personal choice based on the ends of the screen page not being constant.
JSWolf is offline   Reply With Quote