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!

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

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?

Alla svar (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.