Quote:
Originally Posted by snarkophilus
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 */