This might sound odd, but doing this:
<table id="MyTableID">
<tr>
<td align="center">
<div id="1">
Content
</div>
</td>
</tr>
</table>
Aligns "Content" to the center, but:
<table id="MyTableID">
<tr>
<td style="text-align: center;">
<div id="1">
Content
</div>
</td>
</tr>
</table>
Aligns it to the left.
I've read many posts about using margin-left: auto and margin-right: auto, and also extracted the style to a css file. Nothing of this seems to work for me.
Does anyone know why? what am I doing wrong? I'm using Firefox 19.
align="center"is deprecated.