[问题] 如何在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