View Single Post
Old 03-16-2010, 03:04 AM   #76
jgray
Fanatic
jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.
 
Posts: 548
Karma: 2928497
Join Date: Mar 2008
Device: Clara 2E & Sage
Slight improvement on pseudo drop caps

Code:
p {
	line-height: 120%;			/* This keeps the line heights consistent.
	                    		Try without this to see what goes wrong. */

	text-indent: 1.2em;     	/* Adjust to suit. */
	
	margin-left: 1em;           /* Add some margin so we can move the dropcap left. */
	margin-right: 1em;
}

h2.chapter + p {
	text-indent: -.8em;			/* Move dropcap left just a bit. */
}
jgray is offline   Reply With Quote