Quote:
Originally Posted by PatNY
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>