<style type="text/css"> table{ font-size:18px; border-collapse:collapse; text-align: center; margin: 0 auto; } .al{ /* table宽、高度 :210mm、297mm,这是A4纸的宽度、高度*/ width: 210mm; height: 297mm; } </style>
<!-- 打印的样式--> <style media="print"> @page { <!-- 纵向:--> size: portrait; <!-- 横向:--> size: landscape; /* 上外边距是 0mm 右外边距是 10mm 下外边距是 0mm 左外边距是 10mm */ margin: 0mm 10mm 0mm 10mm; } </style>
<body>
<!--startprint--> <table class="al" border=&#