0
我想打印輸出。 epf no和name.how我可以這樣做。如何增加@media打印功能的行高度
這裏是我的代碼
<style type="text/css">
@media print{
.total-sheet-td {height: 40px; vertical-align: middle;}
.printbutton {display: none}
.pay-sheet {border: none;}
.pay-sheet td {height: 35px !important;}
.pay-sheet .txt-al {text-align: center}
.pay-sheet .txt-al-r {text-align: right; padding-right: 2px;}
.pay-sheet .emt-row {height: 60px;border-right: none; border-left: none;}
.pay-sheet .emt-cell {border-right: none; border-left: none; }
}
</style>
沒有你試過最小高度 「總表-TD」 ..而不是高度? –
您是否嘗試將高度更改應用於父'tr'而不是'td'本身? –
將'padding'添加到'.pay-sheet td' –