当打印页表行/单元格分页时 [英] When printing page table rows/cells gets splitted on page break

查看:100
本文介绍了当打印页表行/单元格分页时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含嵌套表的表。当我打印此页时,单元格会在分页符上分割。

I have an table with nested tables in. When I am printing this page, the cells gets splitted on page break.

有没有机会,我可以控制它应该跳到下一页,而不是分裂中间?

Is there any chance that I can control that it should jump onto the next page instead of splitting middle?

推荐答案

您可以查看 page-break-before css属性。例如,您可以在每个单元格上将其设置为 auto

You can have a look at the page-break-before css property. For example you can set it to auto on each of your cells.

Bur我不能保证工作,每个导航器打印有点不同。 Firefox已知在打印大表(多于一页)方面有问题。

Bur I can't guarantee this will work, each navigator prints a little differently. Firefox is known to have problems printing big tables (more than a page) for example.

这篇关于当打印页表行/单元格分页时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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