Every ePub in my library has been converted using calibre and every book that I have looked at has a Body class that includes what Jackie placed above.
Here is one example
<body class="calibre">
.calibre {
display: block;
font-size: 1.25em;
line-height: 1.2;
margin-bottom: 0;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
padding-top: 0;
text-align: left
}
This is how calibre keeps the text from going right up to the "bevels." As Jackie stated this is controlled via Preferences - Common Options - Page setup.
On top of the above calibre also inserts into each html page the following:
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; }
If you don't want the text to run up to the bevels then insert the left and right 5pt margins as seen above.
If this doesn't point in the right direction then I am confused about what you are looking for.
Last edited by DoctorOhh; 10-19-2011 at 01:56 AM.
|