Align TABLE to center of the BODY
Posted: Mon Feb 21, 2005 1:27 am
I understand that in XHTML strict for <table>, align is not available.
I had this previously :
What I want is y table to be aligned in center of the page(body) NOT the content of the table aligned to center which is what happened when I did <table style="text-align:center">
I searched google and found that the replacement for align=center is now CSS's text-align:center but the output is really not the same.
Is there anyway for my table to be aligned center of the page(body)?
Thanks
I had this previously :
Code: Select all
<body>
<table align="center">
...
</table>
</body>I searched google and found that the replacement for align=center is now CSS's text-align:center but the output is really not the same.
Is there anyway for my table to be aligned center of the page(body)?
Thanks