【问题标题】:How to get rid of empty spaces at the end of the page on converting HTML to PDF using page-break-after如何在使用 page-break-after 将 HTML 转换为 PDF 时摆脱页面末尾的空格
【发布时间】:2018-03-05 13:47:53
【问题描述】:

我希望页面高度与元素的内容相同,即使内容是单行,我总是得到相同高度的页面。 See the image here

【问题讨论】:

    标签: html css pdf printing html-to-pdf


    【解决方案1】:

    你为什么不截图然后转换成pdf

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-01-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-07-09
      • 1970-01-01
      • 2011-01-13
      相关资源
      最近更新 更多