|
Posted by ironcorona on 05/15/06 07:37
Jeremy Brown wrote:
> How would I center a table on the page. I have tried with class="center" in
> the table tag, but it didn't work. I defined it in my CSS for the site, but
> it seems to only work in cells or <p> statements.
In .center take out text-align:center; and change it to
..center {margin-left:auto; margin-right:auto;}
or if you don't need a margin on top
..center {margin:0 auto;}
--
Brian O'Connor (ironcorona)
Navigation:
[Reply to this message]
|