开发者

IE8 hangs on print

IE8 on my system generally prints a page as expected. But for one particular page on the application i am developing, when i choose Print or Print Preview, IE8 hangs indefinitely (This doesn't happen on Firefox开发者_运维百科).

What peculiarity of a particular web page could cause such an issue in IE8?


Though I have not been able to figure out why IE8 hangs, I am pretty sure it has something to do with the complexity of the rendered document.

Therefore, as a work-around, I excluded certain parts of the document through css when it is printing:

<style type="text/css" media="print">
    #excludeComplexDiv {display:none;visibility:hidden;}
</style>

So now IE8 no longer hangs upon giving the print command!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜