Forum


Replies: 1   Views: 3064
Replacetemplatevariablebyhtml ignores padding-left and padding-right
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 nigel  · 09-05-2014 - 17:32

Hi,



I am developing a page that uses replaceTemplateVariableByHtml() to insert a table into a word document. The html includes <td style="padding:20px" >



The word document correctly shows padding in the cell of 20px top and bottom, but not left or right. This appears to be set to a non zero default value.



I am convinced this is a bug - is there a workaround?