Quote:
Originally Posted by roger64
Though I did not receive too many answers up to now, it may happen..
Guru, where are you?
I am quite busy creating epub from odt files thru calibre.
I just discovered thru w3school the magic world of CSS and extra.css.
I used these rules with good effect
.endnote {font-size:10px;}
p {line-height:1.4;}
question
I would like to use an extra.css rule to get centered images.
Now the images are set on the left side.
Thank you for any reply.
|
hi roger, i guess all the guru were away for the weekend.
for centered images, you can try this css code :
.center {text-align : center;}
however you will have to add it to the images within the code, like this :
<div class="center"><img alt="" src="../images/img0002.jpg" /></div>
i don't know if there is a way to automatise this in calibre... (gurus ??) but you can use sigil to edit your epub files and modify the code as you like.