Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Learn More

Print preview is not displaying my print stylesheet correctly

  • 1 odgovor
  • 1 ima ovaj problem
  • 12 prikaza
  • Posljednji odgovor od guigs

more options

I have an html page that is a set of tables with two columns, Field and Value. When printed, a css rule page-break-after: always; divides the tables into one table per page.

The issue is that firefox is only printing the first page table. The other pages are present, but none of the data actually shows. Instead, it just shows the headings (Field, Value) and one empty row.

Oddly, if I open the browser console and run media emulate print the correct styles are displayed, this issue only occurs in Print Preview, and when actually printed.

A simplified example can be viewed here, just view the page in print-preview and you will see that the second table's content is hidden: https://gistpreview.github.io/?eb94e2e59ae73047be5d263d94197349

In addition, images of the issue may be seen here: https://stackoverflow.com/questions/46772724/firefox-will-only-print-first-page-table

I have an html page that is a set of tables with two columns, Field and Value. When printed, a css rule page-break-after: always; divides the tables into one table per page. The issue is that firefox is only printing the first page table. The other pages are present, but none of the data actually shows. Instead, it just shows the headings (Field, Value) and one empty row. Oddly, if I open the browser console and run media emulate print the correct styles are displayed, this issue only occurs in Print Preview, and when actually printed. A simplified example can be viewed here, just view the page in print-preview and you will see that the second table's content is hidden: https://gistpreview.github.io/?eb94e2e59ae73047be5d263d94197349 In addition, images of the issue may be seen here: https://stackoverflow.com/questions/46772724/firefox-will-only-print-first-page-table

Izmjenjeno od roemhildtg

Svi odgovori (1)

more options

Hi there, We filed a bug for you, please continue the troubleshooting here :-)

https://bugzilla.mozilla.org/show_bug.cgi?id=1409585