Firefox printing only 1st page

后端 未结 15 2358
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-14 05:40

I\'m working on print friendly css for a website. It previews/prints perfectly in IE, but Firefox (version 3.6) only previews/prints the 1st page.

Is anyone aware of

相关标签:
15条回答
  • 2020-12-14 06:23

    the following works for me.

    @media print {
      .field--body table tr {
        display: table-row-group !important;
      }
    }
    
    0 讨论(0)
  • 2020-12-14 06:27

    I was having a similar issue using Firefox V77. It will only print the first part of the visible page and will cut off the rest in both preview mode and print mode.

    One fix I found is to change flex to block in your print stylesheet.

    Also, the V78.0.2 that just relesed in July 2020 seems to have fixed the issue.

    0 讨论(0)
  • 2020-12-14 06:28

    Firefox certainly does NOT suck in any respect. However, sometimes it adheres more strictly to standards than other browsers do. Anyways, to cut to the chase, I had the same problem, i.e. firefox was printing (also previewing) only the first 2 pages of a multipage report, built with a long table, produced by a webpage of mine. After some debugging I found out that I had included most of the report's content inside a span element with a style of {display: inline-block;} among other things. As soon as I removed that the pagination was perfect...

    0 讨论(0)
提交回复
热议问题