Quote:
Originally Posted by pdurrant
Thank you again for this - it's sorted out one puzzle for me to do with the cover page. Now I specify
body { margin:0; }
@page { margin: 4pt; }
in the my global CSS file, and in the cover page XHTML file I add in an override just after the link to the standard CSS like this:
<link rel="stylesheet" href="../styles/style001.css" type="text/css" />
<style type="text/css">
body {margin:0; padding: 0; border-width: 0; }
@page {margin: 0; padding: 0; border-width: 0; }
</style>
And now my cover stretches to fill the screen as much as possible. Setting padding and border-width to 0 as well as the margin might be overkill, but it does no harm as far as I know.
|
Can you use the @page { margin: 4pt; } command to set different margins for left, right, bottom and top?