Can't center table in new template Afterburner - Joomla! Forum - community, help and support
i had no problems centering table in old template. yet in new 1 can't seem that. here code:
tried wrapping div around too. didn't work, must simple. left aligns, can float right can't in center of page.
code: select all
<table style="width: 60%;" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td>
</td>
<td></td>
</tr>
</tbody>
</table>tried wrapping div around too. didn't work, must simple. left aligns, can float right can't in center of page.
this code works fine in plain html, can try using "margin:0 auto" in style attribute or define table in px or check if wrapper has defined width
....and if not work, there might other css or code on page interfering this..... demo useful
....and if not work, there might other css or code on page interfering this..... demo useful
Comments
Post a Comment