Forum How do I...?

Repeat until end of page

jwiki
I am designing a form and would like to repeat empty rows until the end of a page, is there anyway to do with with prince elements?

<table>
<thead>
<tr>
<th>
...
</th>
</tr>
</thead>
<tbody>
<tr>
<td>...</td>
</tr>
Repeat until page end.
</tbody>
</table>


Thanks,
Jake
mikeday
At the moment there is no way of repeating elements to fill all available space. You could try repeating the element many times manually, and then using "overflow: hidden" to cut off any that go beyond the page. It would require carefully specifying the height of the element to be an integral multiple of the height of the repeating element, to ensure that you don't get half an element cut off at the end.