FyTek Forum

Full Version: Table sizing 50% height/width
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
#
I have table that I want to expand to 50% of the width and height of the page size. The width seems to work but with the height, no matter what I put in, it’s always the same height.
#

Try this. Note the HEIGHT doesn't go on the TD, just the TR.

<PDF>
<metric units="mm">
<grid ML="0.0" MR="0.0" MT="0.0" MB="0.0" XUNITS="100" YUNITS="100" >

<PAGE WIDTH="210" HEIGHT="297">

<TABLE width="50" tableborder=1>
<TR height=25>
<TD>A lot of text to format...</TD>
</TR>
<TR height=25>
<TD>A lot of text to format...</TD>
</TR>
</TABLE>

</PAGE>
</PDF>

Mike Bernardo
FyTek, Inc.
Reference URL's