Forum


Replies: 8   Views: 7031
Setting fixed width to first column in an html table
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 admin  · 21-12-2017 - 18:03

Hello,

We have tested your HTML using the conversion plugin and the output is the same than the DOCX, it has the correct widths. We have tested it using the conversion plugin based on LibreOffice (version 5.4) that is the recommended one since phpdocx 4.5.

Please check that Tidy for PHP is installed and enabled, and we also recommend you to read the information available on https://www.phpdocx.com/documentation/conversion-plugin/preparing-the-templates-for-its-conversion, that explains how to get the best output when transforming the DOCX; such as fixed widths for tables, rows and cells. A table with a width of 620px is equivalent to a 100% for an A4 page, so you shouldn't exceed that value in an A4 document.

Regards.