View Single Post
Old 08-24-2010, 10:37 PM   #26
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,123
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by PatNY View Post
You mean at the top of each html file? So if I have a separate file for each chapter in a book I have to add that to the top of each file in addition to adding in "<hr/"> between sections? If so, I'll use it sparingly and just stick with the asterisks for section breaks.
Or put it in the stylesheet.

Code:
hr.ch{
	/* text-align: center; */
	color: black;
	background-color: black;
	width: 25%;
	height: 5px;
	border: 0
	}
note I defined a HR class of ch    /*chapter head */

<hr class-"ch" />

that allows for other uses of HR with different attributes

Also not that you can not center(or other alignment) a HR in (buggy)ADE this way :(
You need to wrap the in a centered <div class+"centered"> <hr />  </div>
theducks is online now   Reply With Quote