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.
Quote:
Originally Posted by ugerhard
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.
|