Questo sito potrebbe offrire funzionalità limitate durante le operazioni di manutenzione per migliorare l'esperienza utente. Se un articolo non risolve il tuo problema e vuoi richiedere supporto, la nostra comunità di supporto è pronta ad aiutarti tramite @FirefoxSupport su Twitter e /r/firefox su Reddit.

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”.

Ulteriori informazioni

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

firefox ignores @media print in css file when printing

  • 2 risposte
  • 15 hanno questo problema
  • 1 visualizzazione
  • Ultima risposta di tom001

more options

I have firefox 24.0, firebug 1.12.3, and web developer 1.2.5

I have noticed that the @media print css is being ignored when printing.

Go to http://www.usabledevelopment.com/examples/media-css.html. (This is an example that I found to verify what I was seeing. It is not my web site)

You will notice that there is a @media print in the style within the head.

If you select the body in firebug, it shows references to the @media screen in the style pane.

If you go and check the menu item "Display Print Styles", nothing is shown in the style pane for the body element.

I would like to know what is going on.

I have firefox 24.0, firebug 1.12.3, and web developer 1.2.5 I have noticed that the @media print css is being ignored when printing. Go to http://www.usabledevelopment.com/examples/media-css.html. (This is an example that I found to verify what I was seeing. It is not my web site) You will notice that there is a @media print in the style within the head. If you select the body in firebug, it shows references to the @media screen in the style pane. If you go and check the menu item "Display Print Styles", nothing is shown in the style pane for the body element. I would like to know what is going on.

Tutte le risposte (2)

more options

I don't know about Firebug, but that print css works in both Print Preview and when printing.

more options

Thanks.

It appears to be related to either firebug or web developer. When you check the Display Print Styles, it stops working