How do I centre a horizontal rule?
I want to use horizontal rules as separators between subsections of chapters. It is easy to set them to 50% in the CSS, using
hr.half { height: 2px; color: black;
background-color: black; width: 50%;
}
and they work well and are centred when reading the book in HTML.
But when I read the book on my Cybook reader the horizontal rule is not centred; it is aligned left.
Is there a way to centre them in ePub? What do I need to add to the above segment of the stylesheet? Or, like small-caps, is this one of the things ADE cannot handle?
Regards, Alex
|