Quote:
Originally Posted by JSWolf
There nothing auto. There's no inline anything. There no workarounds. It just works.
|
There could be if it's a calibre conversion, as calibre seems to add a css class to everything. I've got the same standard epub loaded on a PRST1, KoboGlo and AuraHD. The chapter heading ornamental jpg is correctly centred on all 3 devices.
The html code looks like:
Code:
<p class="calibre5"><img alt="chap08" src="images/chapter08.jpg" class="calibre2"/></p>
and the relevant css:
Code:
.calibre2 {
height: auto;
width: auto
}
.calibre5 {
display: block;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
text-align: center
}
The only difference in the 3 displays is how big the image looks.
In addition, I removed the "calibre2" class and re-tested on the Aura -- still centered correctly.