iText 2.1.5 How to control the page size?
<p>In the tpl file where I'm writing the HTML code for the data I wanted to be displayed, I'm using a table and I want to set the height of the table but for some reason is not working even if I add the height attribute is not taken in consideration only the width attribute is working.</p>

<p>Is there any possibility to set the height of the table or to control the page size since I need to make sure that the content displayed fits perfectly on each page? </p>

<p>Code Example for .tpl file:</p>

<pre><code>&lt;pdf baseFont="Arial,true"&gt; 
&lt;page&gt;
&lt;header border="0"&gt;&lt;/header&gt;
&lt;table  width="100%" border="0" cellspacing="0" cellpading= "5"&gt;
    &lt;tr&gt;
        &lt;td width="100%" border="1" align="left"&gt;
            &lt;font size="12"&gt; Some data here &lt;/font&gt;
            &lt;br&gt;
            &lt;font size="12"&gt; Some data here &lt;/font&gt;
            &lt;br&gt;
            &lt;font size="12"&gt; Some data here &lt;/font&gt;
            &lt;br&gt;
        &lt;/td&gt;           
    &lt;/tr&gt;
&lt;/table&gt;        
&lt;/pdf&gt;
</code></pre>