Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

break-before CSS property does not have any effect

  • 1 risposta
  • 1 ha questo problema
  • 16 visualizzazioni
  • Ultima risposta di TyDraniu

more options

Firefox Quantum Version: 60.6.1esr (64-bit)

I am trying to force a page break before a `h3` type header title for printing an html page.

However, neither "page-break-before: always;" nor "break-before: page;" CSS properties work in Firefox.

Both of the properties work fine in Chrome. How can i force a page break in Firefox?

Firefox Quantum Version: 60.6.1esr (64-bit) I am trying to force a page break before a `h3` type header title for printing an html page. However, neither "page-break-before: always;" nor "break-before: page;" CSS properties work in Firefox. Both of the properties work fine in Chrome. How can i force a page break in Firefox?

Modificato da ubersonique il

Tutte le risposte (1)

more options

"break-before: page" should work since Firefox 65. "page-break-before: always" is working since Firefox 1.

I just printed this example, and got 2 pages. https://jsfiddle.net/3oeka2v1/