View Single Post
Old 10-18-2011, 03:21 PM   #5
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Starson17 View Post
That's simple. Do you know the purpose of adding the @page directive?
No, not really. I think @page is the only way to get a top/bottom margin on every page. Putting it in the <body> css would only give you a top margin on the first page of a chapter and a bottom margin on the last page of a chapter.

I had also assumed (maybe wrongly) that Calibre puts an @page statement into each html file (rather than once in the css file) so that some html files (e.g. the cover page html) can have top/bottom margins different to those set in Convert - PageSetup.
jackie_w is offline   Reply With Quote