在打印时,Firefox会剪切/剪切图像(如果图像大于单个打印页面),该如何禁用此行为? [英] When printing, Firefox cuts off/crops images if they're larger then a single print page, how do I disable this behavior?

查看:34
本文介绍了在打印时,Firefox会剪切/剪切图像(如果图像大于单个打印页面),该如何禁用此行为?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果网页上的图像超过单个打印页面的高度,则在打印时(例如在打印预览"中查看),它的下半部分会被Firefox剪切/裁剪,这在Chrome和可能不是IE,也不确定Opera和其他产品.

If I have an image on a webpage that exceedes the height of a single print page, the lower half of it gets cut off/cropped by Firefox when printed (e.g. viewed in Print Preview), this does not happen in Chrome and probably not IE either, not sure about Opera and others.

如何禁用此剪切/裁切功能,并在两页或更多页上获得完整图像?

How can I disable this cuting off/cropping and get the full image on two or more pages?

我希望通过HTML/CSS/Javascript而不是通过浏览器设置来完成此操作,但是如果这是浏览器设置问题,我想我只需要信任我的用户即可.

I'd preferibly do it through HTML/CSS/Javascript rather then browser setting, but if it is a browser setting issue I guess I'll just have to trust my users to do it.

推荐答案

尝试一下

overflow: visible !important;

这篇关于在打印时,Firefox会剪切/剪切图像(如果图像大于单个打印页面),该如何禁用此行为?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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