Forum How do I...?

Margin Question

Hello,

I am working with one of our colleges at the University to integrate PrinceXML into one of their applications. Everything works great converting the html files to PDF except for the margins.

The PDF that is created seems to have a border around the document rather than going edge to edge. I have tried using the --no-author-style option and the "margin: 0 !important" option in a css file but I still get the border around the PDF. I can change the font size correctly but the margin stays in place.

Is this because we are using the evaluation version of Prince? Will the resulting PDF be page to page after we purchase a full license?

Thanks for your help.

John
mikeday
Have you tried:
@page {
    size: A4;
    margin: 0
}
That worked great, thank you very much.