Hi, I'm using the following code to center a table in my html page:
html file
<table class="center">
...
</table>
css file
table.center {margin-left:auto; margin-right:auto;}
body {text-align:center;}
This works on a single table on a test page, but on my working page there are nested tables. Is there a way for this to inherit to all tables with out coding each table?
Thanks
Tim
html file
<table class="center">
...
</table>
css file
table.center {margin-left:auto; margin-right:auto;}
body {text-align:center;}
This works on a single table on a test page, but on my working page there are nested tables. Is there a way for this to inherit to all tables with out coding each table?
Thanks
Tim