Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

Print preview is not displaying my print stylesheet correctly

  • 1 resposta
  • 1 tem este problema
  • 12 visualizações
  • Última resposta de 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

Alterado por roemhildtg em

Todas as respostas (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