View Single Post
Old 11-03-2013, 12:32 PM   #31
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,014
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by AuthorGreg View Post
My last message didn't make it up. Oh well.

Anyway, this is from the Nook Press formatting guide:

VIII. CSS/Fonts

When defining styles in the CSS, margins should be set as “pixels”, not “ems”, or “% of ems”. This will optimize the viewing area regardless of selected font or type size.

So I'm going to follow that route.

G
Yes, that is the preferred way to do margins because if you do it as % or em, you have variable width margins. px does give you fixed size margins.

It is indents that never should be in px. em is best for indents such as 1.2em (what I prefer).
JSWolf is offline   Reply With Quote