
: Re: Centering images and text in ePUB and Kindle ebooks I am currently creating an ePUB3 file for converting it to Kindle format, and for it be compatible to other ereading devices that support
You will probably run into problems doing it that way, particularly on iBooks. The most reliable method I've found for centering is:
<div class="centered_image">
<img src="image.jpg" alt="Alternate text" />
</div>
With css like this:
div.centered_image {
width: 60%;
margin: 1em 20%;
}
div.centered_image img {
width: 100%;
}
On a very few reading systems (notably the nook), this can cause problems on some images due (I'm guessing) to rounding errors, so you may have to set the margins just a hair smaller (like 19% in the above example).
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Ashley

: Can I make custom fonts show up in iBooks? Is it possible to include custom fonts in an ebook and have them show up in iBooks, or can you only use the various default fonts listed on the