Forum


Replies: 5   Views: 4542
Table width in templates
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 medscope  · 26-10-2012 - 02:33

I'm using replaceTemplateVariableByHTML() to create dynamic HTML table into template.

I need to make the table width fit to the document. But it is fit to the content and the with attribute of the table doesn't affect the table width in the document.

How can I set the table width, so it will be reflected in the document or auto fit to the document.