View Single Post
Old 09-17-2009, 04:27 AM   #6
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,082
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
You might be right - I don't know.

Having checked, indeed, you are right - my suggestion only affects the first and last pages of a flow for top & bottom margins.

adding your suggestion to the CSS code works

@page {
margin: 5px;
}

is the right way to do it. Thanks!


Quote:
Originally Posted by ugerhard View Post
This will only specify the top and bottom margin for the entire document, won't it (so that the top and bottom margins for a page after the first resp. before the last page of the ebook are not set)? It will work for left and right margins, though.

To specify margins of the pages on the screen, I use the @page selector, mostly with

@page {
margin: 5pt;
}

for display on the CyBook Opus.

Last edited by pdurrant; 09-17-2009 at 04:35 AM. Reason: Actually checked properly, so now I know.
pdurrant is offline   Reply With Quote