View Single Post
Old 04-27-2011, 10:44 AM   #26
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,561
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by snarkophilus View Post
Kaz,

The epubs I've bought (from Borders Australia) usually have something like this at the top of the .css file (in the Styles folder in Sigil):
Code:
@page { margin-bottom: 1em;margin-left: 1em;margin-right 1em;margin-top: 1em;}
body { margin-bottom: 1em;margin-left: 1em;margin-right 1em;margin-top: 1em;}
Which is pretty stupid. Why have margins in both body and @page? And why have margins in body at all? In particular top and bottom margins in body apply only to the first and last screens in the flow, not to every "page".

This works very well for me:

Code:
@page { margin: 2mm; }
html body { margin: 0; } /* this is to override the default in my Cybook */
Jellby is offline   Reply With Quote