Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Print preview is not displaying my print stylesheet correctly

  • 1 답장
  • 1 이 문제를 만남
  • 12 보기
  • 최종 답변자: 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

글쓴이 roemhildtg 수정일시

모든 댓글 (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