Forum


Replies: 8   Views: 4087
How to indent tables ?
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 nickweavers  · 14-03-2013 - 19:12

I'm adding an html table to a template using replaceTemplateVariableByHTML, but no matter what I set the html style left-margin to, the table aligns to the left of the page.

What do I need to do to get the table indented?

TIA,
Nick Weavers

Posted by admin  · 11-04-2013 - 12:13

Hello,

There isn't support for table indent but the current dev of PHPDOCX version has it.

Just contact us: http://www.phpdocx.com/contact

And we'll send you the new file.

Regards.

Posted by nickweavers  · 11-04-2013 - 12:13

email sent through contact form.

Thanks,
Nick Weavers

Posted by admin  · 11-04-2013 - 12:13

Hello Nick,

We're out of the office today, if no one send you the file today you'll get it tomorrow (tuesday).

Regards.

Posted by nickweavers  · 11-04-2013 - 12:13

File received and working... many thanks

Nick

Posted by ludalex  · 02-01-2014 - 12:56

Hi, I sent you an email here http://www.phpdocx.com/contact requesting this file too.


Posted by jorgelj  · 03-01-2014 - 09:28

Hello,



This file was included months ago.



Regards.


Posted by tremani  · 21-04-2015 - 16:05

I understand table indent support is now standard, but I haven't figured out how to control the indent from html. Could you tell me what css or attribute to use to control this?

Posted by admin  · 21-04-2015 - 18:07

Hello, We recommend you to read this page: http://www.phpdocx.com/documentation/introduction/html-to-word-PHP It explains all supported HTML tags and CSS properties. Regards.