I have a very simple problem: I need to center a table inside a TD element. If I were using HTML 4 I'd doit like this:\[code\]?<table style="border:solid;width: 100%"> <tr> <td align="center"> <table style="border:solid; width:50%"> <tr> <td >I must be in the center</td> </tr> </table> </td> </tr></table>?\[/code\]But I'm trying not to use deprecated attributes and do it the CSS way. I already tried this:\[code\]<td style="text-align:center">\[/code\]And this:\[code\]<td style="margin: 0 auto">\[/code\]And the tables keeps in the left-side of the cell. Any suggestions?