Quote:
Originally Posted by pdurrant
Just replace your plain <body> tag with
<body style="margin:5px">
to give five pixels of margin all around the page. If you want more or less, just change the figure. If you want uneven margins, use
<body style="margin:5px 4px 0px 4px">
where the order is top, right, bottom, left.
|
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.