Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

firefox ignores @media print in css file when printing

  • 2 trả lời
  • 15 gặp vấn đề này
  • 6 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Tất cả các câu trả lời (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