I am using wkhtmltopdf 0.10.0 rc2 on Ubuntu (Linux 3.2.0-24-generic #38-Ubuntu x86_64 GNU/Linux). The problem I'm experiencing is that I can't create PDFs with margin-top or margin-bottom. I'm not getting any errors.
I'm using the following commands:
wkhtmltopdf -T 50 -B 50 http://google.com ./test.pdf wkhtmltopdf --margin-top 50 --margin-bottom 50 page.html ./test.pdf
However, when I try the following, margin-left and margin-right works perfectly (but still no margin-top or margin-bottom)
wkhtmltopdf -L 50 -R 50 -T 50 -B 50 page.html ./test.pdf
It doesn't matter which URL or page I try to convert. How can I set a margin-top and margin-bottom?