We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

printing from firefox spits out extra blank page

  • 3 个回答
  • 34 人有此问题
  • 1 次查看
  • 最后回复者为 kasapo

more options

When I print from Firefox my printer firsts spits out a blank page before printing what was expected.

When I print from Firefox my printer firsts spits out a blank page before printing what was expected.

所有回复 (3)

more options

Does a blank page appear first in Print Preview?

more options

I have a similar issue -- a page before is printed and after the actual document.

yes -- the blank page appears in preview. I was able to get rid of the first one with this CSS:

@media print { ...

  body * { float: none !important; }

... }

But I still get the blank page afterwards.

Not sure why, but I'll let you know if I find anything else

more options

I found the culprit for me:

I had a floating div that was holding a sidebar menu. Turning float off fixed the first page issue, but then rendered the (empty) div AFTER the main content of the page, because it was no longer floating and also had its min-height and width properties set.

Simply adding { display: none; } to my "right-col" div did the trick.