Forum


Replies: 1   Views: 3476
Center footer
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 flo  · 20-02-2012 - 10:25

Hello,

I use your API since today.

I would like to center my footer.

[code]// add footer with pager
$footer = 'MON PIED DE PAGE';
$paramsFooter = array(
'pager' => 'true',
'pagerAlignment' => 'center',
);
$docx->addFooter($footer, $paramsFooter);[/code]

The number page is well center, but the Text $footer is still on the left.
If I put on the right, it's the same, the number of page is on the right but the text stay on the left.

Have you a solution ?

Best regards.
Florence.