Quote:
Originally Posted by Agama
Is there any way to specify the margins, indents etc. as a proportion of the page size rather than of the font size?
|
Margins as a proportion of the page size is going to be just wrong. It's bad form and should not be done. Indents as well are in poor form for to a proportion of a page size. For margins, use pt and for indents, use em. I use 1.2em and find this works well. It's not too big with being just big enough.
It's best with an ePub to set it up with no margins at all and then use an @ page like this...
Code:
@page {
margin-top: 5pt;
margin-left: 5pt;
margin-top: 5pt
}
That way, it's very easy for those of us who want to change the margins or just get rid of them to do so.
For indents...
Code:
p {
margin-top: 0;
margin-bottom: 0;
text-indent: 1.2em
}