中断页面时页脚重叠内容。如何解决?

时间:2018-12-28 18:23:01

标签: javascript css

当我打印html时,内容被页脚覆盖,并在firefox 42上打印

image description here

这是我的CSS

@media print {
    table {
        page-break-inside:auto
    }
    tr {
        page-break-inside:avoid;
        page-break-after:auto;
    }
    .header-TQ {
        position: fixed;
        left: 0;
        right: 0;
        margin-top: -15px;
    }
    .content-TQ {
        text-align: center;
        margin-top: -5px;
        padding-bottom: 20px;
        line-height: 1.42857 !important;
        position: relative;
        top: 65px;
  }

0 个答案:

没有答案
相关问题