@page

Hi, I’m trying to create a PDF report consisting of running headers and footers which can be printed as PDF. I’m trying to use the @Page media module but I’m not even sure I should be. I’ve spent days looking into this and found examples that are supposed to work which don’t, yet parts of it do. I can use:

@page { size:A4; margin: 5mm; border:1pt solid blue; }

The page will be set as A4 and the margin will be adjusted to 5 mm, but the border will not change, but that is the least of my worries. Using:

@page {
@top-left { content: “Something goes here…”; }
}

Syndicate content