Upon further testing I found that If I remove style parameters (style="text-indent:-18px; margin-left:18px;"), then the table will expand to fit the page. Here's the code for a test topic showing one table that fits the page and one that doesn't.
Code: Select all
<topic template="Default" lasteditedby="wchen">
<title translate="true">New topic</title>
<body>
<header>
<para styleclass="Heading1"><text styleclass="Heading1" translate="true">New topic</text></para>
</header>
<para styleclass="Normal"><image src="hmtoggle_plus0.gif" scale="100.00%" styleclass="Normal"></image><tab /><toggle type="dropdown" print-expanded="true" help-expanded="false" defaultstyle="false" translate="true" src-collapsed="hmtoggle_plus0.gif" src-expanded="hmtoggle_plus1.gif" styleclass="Normal"><caption translate="true"><![CDATA[Test1]]></caption></toggle></para>
<para styleclass="Normal"><table styleclass="Default" rowcount="1" colcount="1" style="width:100%; border-width:1px; border-spacing:0px; cell-border-width:0px; border-color:#000000; border-style:solid;">
<tr style="vertical-align:top">
<td>
<para styleclass="Normal"><text styleclass="Normal" translate="true">with <para styleclass="Normal"></text></para>
</td>
</tr>
</table></para>
<para styleclass="Normal"></para>
<para styleclass="Normal"></para>
<para styleclass="Normal" style="text-indent:-18px; margin-left:18px;"><image src="hmtoggle_plus0.gif" scale="100.00%" styleclass="Normal"></image><tab /><toggle type="dropdown" print-expanded="true" help-expanded="false" defaultstyle="false" translate="true" src-collapsed="hmtoggle_plus0.gif" src-expanded="hmtoggle_plus1.gif" styleclass="Normal"><caption translate="true"><![CDATA[Test2]]></caption></toggle></para>
<para styleclass="Normal" style="text-indent:-18px; margin-left:18px;"><table styleclass="Default" rowcount="1" colcount="1" style="width:100%; border-width:1px; border-spacing:0px; cell-border-width:0px; border-color:#000000; border-style:solid;">
<tr style="vertical-align:top">
<td>
<para styleclass="Normal"><text styleclass="Normal" translate="true">with <para styleclass="Normal" style="text-indent:-18px; margin-left:18px;"></text></para>
</td>
</tr>
</table></para>
</body>
</topic>