Creating page headers and footers using CSS for print

后端 未结 3 738
慢半拍i
慢半拍i 2020-12-02 07:30

I\'m creating a PDF using Flying Saucer (which dumps out CSS/HTML to iText to a PDF) and I\'m trying to use CSS3 to apply an image header and footer to each page.

I

3条回答
  •  孤城傲影
    2020-12-02 08:23

    To include both header and footer on pages (elaborating on excellent answer from @Adam):

    
    
        
        
    lurking below
    meaningful rambling...

    NOTE: In order for footer to repeat on every page it may be necessary to define it BEFORE other body content (for multi-page content)

提交回复
热议问题