The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

igorakkerman (1) [Avatar] Offline
#1
Hi,

using the EPUB on my Android tablet

- most reader apps don't allow the font to be resized when using the book's CSS

- some also have problems displaying the chapter/section titles and the paragraph breaks correctly

The issue seems to be related to the concrete 'pt' font sizes specified in the stylesheet.css where other (Manning) books use relative 'em' values:

/* Java Persistence with Hibernate */
.Body1 {
color: black;
display: block;
font-family: "Verdana", "sans-serif";
font-size: 8pt;
line-height: 12.5pt;
text-align: center;
margin: 0 0 0.0001pt
}

/* Java 8 in Action */
.calibre {
display: block;
font-size: 1em;
margin-bottom: 0;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 0;
padding-left: 0;
padding-right: 0
}

Apps I tried: Cool Reader, Aldiko, FBReader, Moon+, ebooks.de, Universal Book Reader

Igor

Updated on 2014-11-04 with CSS examples