看板 Web_Design 關於我們 聯絡資訊
小弟有一個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的表格撐滿剩餘網頁?? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.170.207.154 ※ 文章網址: https://www.ptt.cc/bbs/Web_Design/M.1535355759.A.5B2.html ※ 編輯: FacetheFaith (118.170.207.154), 08/27/2018 15:43:44
nottt: 我想到兩種解法 https://codepen.io/not0000/pen/bxpaaW 08/27 19:27