Forum


Replies: 1   Views: 3151
<td> height not working
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by coolaustralia  · 20-08-2018 - 10:25

I have the following HTML:

<table style="width: 686px;" border="1"><tbody><tr><td style="width: 351px;height: 120px;">One thing presented in the clip that was surprising or interesting:</td>
<td style="width: 321px;height: 120px;"></td>
</tr><tr><td style="width: 351px;height: 120px;">One thing I didn’t understand:</td>
<td style="width: 321px;height: 120px;"></td>
</tr><tr><td style="width: 351px;height: 120px;">Any vocabulary that I want to know:</td>
<td style="width: 321px;height: 120px;"></td>
</tr><tr><td style="width: 351px;height: 120px;">One thing that reminded me of something that I already know:</td>
<td style="width: 321px;height: 120px;"></td>
</tr></tbody></table>

Unfortunately, the resulting Word document has the <td> height set by the content instead of the specified values. I can confirm that viewing the HTML shows the sizing correctly.