Even page-break for double-sided printing in HTML & CSS

前端 未结 2 534
后悔当初
后悔当初 2021-01-04 19:53

I\'ve got page breaks working for print media with a quick page-break-after: always. I use these to separate multiple reports in a single batched print job. U

2条回答
  •  逝去的感伤
    2021-01-04 20:24

    There is CSS functionality in the standard. You are on the right track. Use:

    -- your content --

    The problem is, currently, the only major browser that supports this is Opera. Opera has its own finicky issues with printing though, but it might work for your situation.

提交回复
热议问题