100 行以上の製品を含む請求書を印刷しようとしています。この 1 つの請求書は 3 ページを超えるはずですが、印刷すると内容がフッターからはみ出し、次のページが次の請求書になります。
表の代わりに div を使用していますが、長い請求書が複数のページに印刷されない理由がわかりません。
何か案は?
ここに私のスタイルシートがあります:
h1,h2,h3 { margin: 0 0 0.5em 0; padding: 0;}
body { font-family: sans-serif; font-size: 0.8em; }
label, legend { font-weight: bold; }
pre { font-family: sans-serif; }
shipping_address {
width: 45%;
}
billing_address {
width: 45%;
}
order_info {
padding: 0 10px;
}
shipping_logo {
width: 115px;
}
content {
margin: 0px auto 0px auto;
width: 100%;
padding-bottom:15px;
}
div.container {
display: table;
width: 100%;
}
div.header {
display: table-row;
text-align: center;
}
div.row {
display: table-row;
}
.even {
background: #CCCCCC none repeat scroll 0 0;
}
div.cell {
display: table-cell;
padding: 0 10px;
}