Replies: 6   Views: 2832
Table align (html)
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 ajoudeh  · 01-03-2018 - 12:52

I tried your code. the table itself stay in left and the content align to right. how i can attached image to show you what i get?

$html = '<table border="1" width="400" align="right">
                <tr width="600">
                    <td style="background-color: yellow">1_1</td>
                    <td rowspan="3" colspan="2">1_2</td>
                <tr width="600">
                    <td>Some random text.</td>
                <tr width="600">
                            <li>Two <b>and a half</b></li>
                <tr width="600">


PHPdocX 4.5

and trying PHPdocX 5.5 same issue