I found a way to get them centered, you have to alter the actual html of the headers and just embed them in the old html <center> tags.
So
<h2>Introduction.</h2>
Becomes
<center><h2>Introduction.</h2></center>
It worked when viewing the lrf in calibre's viewer
Edit:
I don't know why css doesn't work.
I also noticed the right-aligned text is put to left side as well.
|