Emulating print media in Internet Explorer

夙愿已清 提交于 2019-12-12 08:22:58

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!