View Single Post
Old 05-01-2013, 06:56 PM   #23
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,274
Karma: 16800000
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by JSWolf View Post
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.
jackie_w is offline   Reply With Quote