Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

firefox ignores @media print in css file when printing

  • 2 odpovede
  • 15 má tento problém
  • 5 zobrazení
  • Posledná odpoveď od 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.

Všetky odpovede (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