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!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

Print preview is not displaying my print stylesheet correctly

  • 1 réponse
  • 1 a ce problème
  • 12 vues
  • Dernière réponse par 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

Modifié le par roemhildtg

Toutes les réponses (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