View Single Post
Old 01-30-2014, 05:25 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,675
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
That doesn't change the margins in Sigil's Book View? Or are you talking about when viewing it on the Nook? Because I don't think the @page rule really affects Sigil's Book View. But you should see the effect on your Nook or in ADE.

I'm assuming the stylesheet you're adding the @page to is linked to all the xhtml files in you're trying to affect?

I have no idea why I've adopted the method I have; but I tend to assign left and right margin directly to the <body> element:
Code:
body {
margin-left: 3px;
margin-right: 3px;
}
and then use @page for some top and bottom margin:
Code:
@page {
margin-top: 5pt;
margin-bottom: 5pt;
}
It probably had something to with wanting to SEE (in Sigil) that I had the left/right margins the way I wanted them.

Last edited by DiapDealer; 01-30-2014 at 05:28 PM.
DiapDealer is offline   Reply With Quote