问题
I am implementing printing of a web page that is originally displayed in Internet Explorer.
I would like to use the browser "Inspect Element" functionality when in print mode. So I would like to emulate print media, while still actually displaying the page in the browser.
Google Chrome has exactly this functionality.
Is this available in Internet Explorer. In particular, IE11?
回答1:
I do not believe that IE11 currently supports the F12 developer tools in print preview.
I do not know whether such support is in the works, but you could consider adding a suggestion to IE platform suggestion box on UserVoice.
If you're looking to debug issues that only appear during printing, perhaps you could create a simpler case, add a DIV that displays debugging info, and then display your DIV using a print media stylesheet.
Hope this helps...
回答2:
Yes, It is available in IE 11. Click Tools Button (Alt + X) and then Click Print>Print Preview
来源:https://stackoverflow.com/questions/26356750/emulating-print-media-in-internet-explorer