View Single Post
Old 06-29-2013, 12:48 PM   #1
orange!
Born to be wild
orange! ought to be getting tired of karma fortunes by now.orange! ought to be getting tired of karma fortunes by now.orange! ought to be getting tired of karma fortunes by now.orange! ought to be getting tired of karma fortunes by now.orange! ought to be getting tired of karma fortunes by now.orange! ought to be getting tired of karma fortunes by now.orange! ought to be getting tired of karma fortunes by now.orange! ought to be getting tired of karma fortunes by now.orange! ought to be getting tired of karma fortunes by now.orange! ought to be getting tired of karma fortunes by now.orange! ought to be getting tired of karma fortunes by now.
 
orange!'s Avatar
 
Posts: 206
Karma: 1010067
Join Date: Sep 2010
Location: North Carolina, USA
Device: Kindle K3 wi-fi, Nexus 7 + Aldiko
<hr> as section separator?

This isn't really a Sigil question--if there's a better place to ask generic CSS questions, please let me know.

The book I'm working on uses a short horizontal line to separate sections within a chapter. So my inclination was to use this in my html:

Code:
<hr class="sep" />
and this in my stylesheet:

Code:
hr.sep
{
width: 72px;
text-align: center;
}
Looks fine in Book Preview, but on the device, the <hr> is left-aligned.

My question: is there an industry-standard way to render a section separator like this?

Thanks in advance!
orange! is offline   Reply With Quote