View Single Post
Old 03-31-2013, 03:23 AM   #6
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,557
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by theducks View Post
I set a base font for the Body:
Everything else is Relative to that (which those sizes are NOT).
Code:
body {
    display: block;
    font-family: Charis, "Times New Roman", Verdana, Arial;
    font-size: 1.2em;
    margin-top: 0;
    margin-left: 2pt;
    margin-right: 16pt;
    margin-bottom: 0;
    page-break-before: always;
    text-align: justify;
}
I believe you shouldn't set the font size in the body. The above code actually says that default size will be 120% of the font chosen by the user... Why should a book change the user-selected font size?
Jellby is offline   Reply With Quote