[問題] 如何在FreeMarker範本裡將元件撐滿網頁

作者: FacetheFaith (Yes Man)   2018-08-27 15:42:37
小弟有一個FreeMarker template page如下:
<?xml version="1.0"?>
<!DOCTYPE pdf PUBLIC "-//big.faceless.org//report" "report-1.1.dtd">
<pdf>
<head>
<macrolist>
<macro id="nlheader">
<table style="width: 100%; font-size: 10pt; position:fixed">
</macro>
<macro id="nlfooter">
<table class="footer" style="width: 100% ;position:fixed">
</macro>
</macrolist>
</head>
<body header="nlheader" header-height="10%" footer="nlfooter"
footer-height="65pt" padding="0.5in 0.5in 0.5in 0.5in" size="Letter">
<table>
<tr>
<td>Here is a table</td>
</tr>
</table>
<table id="toBeExtendTable">
<tr>
<td>
<div id="extend_div"></div>
</td>
</tr>
</table>
</body>
</pdf>
想請問要怎麼設定, 才能讓id為toBeExtendTable的表格撐滿剩餘網頁??
作者: nottt (無)   2018-08-27 19:27:00

Links booklink

Contact Us: admin [ a t ] ucptt.com