IE8 Printing网站放大了 [英] IE8 Printing website zoomed in

查看:111
本文介绍了IE8 Printing网站放大了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对IE8有一个特别有趣的问题。

I'm having a particularly fun issue with IE8.

网站在firefox,chrome,ie9中打印得很好,但是当从IE8打印时,页面是关于比它应该大50%,导致右侧被切断。

The website prints fine in firefox, chrome, ie9, but when printed from IE8, the page is about 50% larger than it should be, causing the right side to be cut off.

这可以通过将缩放从打印预览缩小到70%来解决,但是客户对此解决方案不满意。

This can be solved by scaling down the zoom from the print preview to 70%, but the client isn't satisfied with this solution.

我没有运气通过Google和SO找到太多信息或类似问题。

I haven't had any luck finding much info, or similar problems via google and SO.

有没有人对我有任何建议?

Does anyone have any suggestions for me?

当你在处理mac时,很难解决从IE8打印的问题:( (客户提出了这个问题)。

It's also hard to troubleshoot printing from IE8 when you're working on a mac :( (client brought up the issue).

非常感谢任何帮助!

谢谢

推荐答案

我遇到了同样的问题(仅限IE8),并意识到IE8似乎是根据遇到的第一个div的宽度进行缩放在我的情况下,第一个div是456px宽,而se cond是920px。因此第二个div在右边被截断。

I was having the same problem (only with IE8) and realized that IE8 seemed to be zooming based on the width of the first div it encountered. In my case, the first div was 456px wide, while the second was 920px. The second div was therefore cut off on the right.

我的解决方案是在所有其他之前添加一个空div(920px宽,1px高)。这解决了问题。

My solution was to add an empty div (920px wide, 1px high) before all others. That fixed the problem.

这篇关于IE8 Printing网站放大了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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