Forum


Replies: 1   Views: 3105
Extra padding at the "block" data using replacevariablebyhtml
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  · 09-08-2016 - 07:40

Hello,

When you use the 'block' option, phpdocx removes the container paragraph and creates a new paragraph. This paragraph uses default Word styles, so it has top and bottom paddings.

We recommend you to set the needed margins and paddings in the HTML or use the option wordStyles to associate a word style to the paragraph (again with the correct margins and paddings).

Regards.