Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

firefox ignores @media print in css file when printing

  • 2 antwoorde
  • 15 hierdie probleem
  • 1 view
  • Laaste antwoord deur 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.

All Replies (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