Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

printing from firefox spits out extra blank page

  • 3 odpovědi
  • 34 má tento problém
  • 2 zobrazení
  • Poslední odpověď od 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.

Všechny odpovědi (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.