搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

firefox ignores @media print in css file when printing

  • 2 个回答
  • 15 人有此问题
  • 5 次查看
  • 最后回复者为 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.

所有回复 (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