View Single Post
Old 06-22-2010, 03:43 PM   #32
tselling
Addict
tselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enough
 
Posts: 366
Karma: 510
Join Date: Apr 2008
Device: NookColor (MiRage/CM7.2 & Moon+ Reader Pro)
Quote:
Originally Posted by Kralik View Post
tselling, I'm figuring out how to fix margins and font sizes. Do you have any idea if it's possible to have ADE default to 100% zoom and not 200%? It doesn't save the settings.
To set the default fontsize, I would use something like:
html, body, p, p.indent, p.nonindent,
div.tx, div.fmtx, div.tx1, div.fmtx1 {
fontsize: 1.0 em !important;
}

If that is too big you could set to 0.9 em or 0.8 em, etc. Don't use pixels or points because then dynamically changing the fontsize wouldn't work.

http://css-discuss.incutio.com/wiki/Font_Size.

I have found that some new ebooks have a file that ends with extension .xpgt like page-template.xpgt that seems to take priority over the CSS... mostly margins. Opening the epub with 7zip and deleting that file seems to help. I have not found a way to override it.

Also some of the recent library epubs use p.indent and p.nonindent or div.tx, div.fmtx, div.tx1, and div.fmtx1 so you may want to add them like I did above.

Last edited by tselling; 06-22-2010 at 03:55 PM.
tselling is offline   Reply With Quote