Quote:
Originally Posted by Anak
the solution of frenshprince might work but you'll still end up with cut off characters that have a negative right side bearing (if it is the last character on a line). The same for characters with a positive left side bearing (if it is the first character on a line).
Try not to use the margin property but use the padding property instead.
This 'softens' the margins and will display all characters completely instead of cutting of some characters.
Code:
@page{margin:0;} or @page {margin-top:0.5em;margin-bottom:0.5em}
div,p{margin:0;padding:0;}
/* 'soft margins' by using the padding property */
.mypagemargins{padding-left:1em;padding-right:1em}
Wrap an extra divider around the original code
Code:
<body>
<div class="mypagemargins">
…
the original code
…
</div>
</body>
There are several other ways to archieve this by using the padding property instead of the margin property. Try to find a solution that fits your (coverted) book best.
|
Thank you for your sugestion but how would I use that with Calibre. I never delve into the code of a book, the Calibre settings is as far as I can go.