View Single Post
Old 03-24-2014, 08:01 PM   #18
bfollowell
Fanatic
bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.
 
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
I've attached a body definition and a page global that I typically use for all of my personal ebooks. I do not develop anything professionally so these are just personal choices but these provide a very nice, clean look for me.

I, for one, despise the fact that most commercial ebook designers are now using pixels as a unit of measure for setting margins, indents and the like. It's such an arbitrary, subjective unit of measure. A measurement that looks great on a Kindle 3 or a first or second generation Nook eink reader, will almost certainly look horrible, and quite possibly even non-existant on my ultra high-resolution Nook HD+ tablet reader. I don't care for % either but it is much, much better than using pixels. Personally, I use ems and feel this is a much better unit of measure but I realize everyone has their own opinions. I've had to result to developing my own little formula to convert pixels to ems and the first thing I do when I purchase a new ebook is clean up the css and convert any and all pixel measurements to em.

That's what works for me.

- Byron


Code:
@page { margin-top: 2em; margin-bottom: 1.333em; margin-left: 2em; margin-right: 2em; }


body
{
    display: block;
    font-size: 1em;
    line-height: 1.2em;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    page-break-before: always;
    text-align: justify;
    font-family: "Charis";  (or whatever font I wish to use)
}
bfollowell is offline   Reply With Quote