Forum How do I...?

Center alignment to html table

vicky
to align the table in center to the pdf page...i am using the following ...
<table align='center'>
...content of the table ....
</table>

and 

<center>
<table>
...content of the table ....
</table>
</center>



but unexpectedly, in the generated pdf the alignment doesn't work...give your valuable suggestions...
mikeday
How about applying style="margin-left: auto; margin-right: auto" on the table?
vicky
ya it works...thank you for ur valuable reply...