header and footer in each page in print mode with css

前端 未结 4 1708
北海茫月
北海茫月 2021-02-01 19:28

I have a web application and it has a report that might exceed one page and I would like to print a header and footer in every page. i find and try this: Repeating a report head

4条回答
  •  南方客
    南方客 (楼主)
    2021-02-01 20:27

    I really appreciate your reply but i have used this solution(position : fixed) before and the content of the page would be masked by the header. so i have to use "@page" which only works with "Margin" property and "Content" does not work or in other words i cannot reach the result i want.

提交回复
热议问题