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!

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í“.

Learn More

Printing in landscape orientation and page sizes

more options

Firefox has been good to me and i love it. Been using it as my primary web dev browser but it has increasingly been brought to my attention the need for better CSS Print media implementations. I would love to know how I can set the page to be printed in landscape orientation via CSS. Also is it possible to set page sizes via CSS?

Firefox has been good to me and i love it. Been using it as my primary web dev browser but it has increasingly been brought to my attention the need for better CSS Print media implementations. I would love to know how I can set the page to be printed in landscape orientation via CSS. Also is it possible to set page sizes via CSS?

Všechny odpovědi (1)

more options

Firefox doesn't support setting the size property for @page (per https://caniuse.com/#feat=css-paged-media ), so you can't specify orientation or paper size in Firefox. However, in my view, there's no harm using these features for users of Chrome/Opera/Edge while we all wait.

Of course, if layout is critical, you may want to consider generating PDFs for your site visitors.