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"> <tbody> <tr width="600"> <td style="background-color: yellow">1_1</td> <td rowspan="3" colspan="2">1_2</td> </tr> <tr width="600"> <td>Some random text.</td> </tr> <tr width="600"> <td> <ul> <li>One</li> <li>Two <b>and a half</b></li> </ul> </td> </tr> <tr width="600"> <td>3_2</td> <td>3_3</td> <td>3_3</td> </tr> </tbody> </table>'; $docx->embedHTML($html); $docx->createDocx('Test');
PHPdocX 4.5
and trying PHPdocX 5.5 same issue
Thanks