View Single Post
Old 12-09-2009, 03:07 PM   #1
bender
Junior Member
bender began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2009
Device: none
calibre ignore margin-top and margin-bottom

Hallo,
i can not change the space at the top of a page with following code:
margin-top
margin-bottom

ebook-convert xxxx xxx.pdf --chapter "//*[@id='xxx' or @class='xxx']" --chapter-mark pagebreak --paper-size 'a4' --margin-bottom 20 --margin-top 20 --margin-left 20 --margin-right 20 --pretty-print

I also tried to change the space with CSS (margin for body or page) but only margin-left and margin-right works.
bender is offline   Reply With Quote