I'm trying to process a very simple file and it isn't working how I expect. What am I doing wrong?
I'm trying to alter my page size and font, but when I generate the pdf file I don't see my @page settings changing at all. The generated pdf looks the same no matter what size or font settings I specify in @page css.
Command:
prince -v -s css/cards.css --media=screen index.html -o testing2.pdf
cards.css:
index.html
I'm trying to alter my page size and font, but when I generate the pdf file I don't see my @page settings changing at all. The generated pdf looks the same no matter what size or font settings I specify in @page css.
Command:
prince -v -s css/cards.css --media=screen index.html -o testing2.pdf
cards.css:
@page { size: 20cm 20cm; margin: 2cm 1cm; font: 2px "Trebuchet MS", sans-serif; }
index.html
<html>
<body>
<div class="container">
<p class="title">Home Page</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
<h2>Litasdfordsfsa Socdfdiis</h2>
<p>Morbi et risus. Aliquam nisl.</p>
</div>
</body>
</html>