How to debug media print view of Web page in Firefox?

How to debug the media print view set by @media print {} in CSS of Web pages in Firefox?

In firefox, after opening the Web page,

First, hit “Shift + F2” to open the “Developer Toolbar” at the bottom.

Second, in the “Developer Toobar”, input

media emulate print

and Firefox will show the print view of the web page.

Answered by Eric Z Ma.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *