Re: Aligning Tables with CSS

>Why will this not work in ANY of my browsers (MSIE 6.0, Mozilla 1.4, Opera 7.11, Netscape 7.1)?
>
>table {
> text-align: center;
>}

The "text-align" CSS property aligns inline content in a block level element.

Use this instead:
table {
 margin: auto;
}

--
David H

Received on Sunday, 17 August 2003 13:05:23 UTC