Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

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?

Wszystkie odpowiedzi (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.