Quote:
Originally Posted by AlexBell
What values would you suggest?
|
I use:
@page { margin-top:6pt; margin-bottom:4pt }
and in
body margin:0 6pt 0 6pt; padding:0
This ensures that the top/bottom margins still apply when the top or bottom of the current page is not being displayed, i.e. you're somewhere in the middle of a page which is longer than 1 screen. The lower figure of 4pt for the bottom-margin is because this is only to allow for letters which extend below the line, (g, p, q and y).
Left/right margins are in the body selector to allow easy override on specific pages if required.
Just don't set margins in em or they zoom with the text size and end up consuming lots of screen area. I'd say 75% of my purchased ePubs have these annoying 'zooming' margins.