在Internet Explorer中模拟印刷媒体 [英] Emulating print media in Internet Explorer

查看:159
本文介绍了在Internet Explorer中模拟印刷媒体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在实现打印最初显示在Internet Explorer中的网页.

在打印模式下,我想使用浏览器的检查元素"功能.因此,我想模拟打印介质,同时仍在浏览器中实际显示页面.

Google Chrome完全具有此功能.

在Internet Explorer中可用吗?尤其是IE11?

解决方案

我不认为IE11当前在打印预览中支持F12开发人员工具.

我不知道是否正在提供这种支持,但是您可以考虑向IE平台添加建议建议框.

如果您要调试仅在打印过程中出现的问题,也许可以创建一个更简单的案例,添加一个显示调试信息的DIV,然后使用

Google Chrome has exactly this functionality.

Is this available in Internet Explorer. In particular, IE11?

解决方案

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...

这篇关于在Internet Explorer中模拟印刷媒体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆