W3C home > Mailing lists > Public > www-html@w3.org > August 2003

Re: Aligning Tables with CSS

From: David Hasather <hasather@msn.com>
Date: Sun, 17 Aug 2003 19:01:16 +0200
To: "Damien Bezborodow" <drbezborodow@webpathways.com>, <www-html@w3.org>
Message-ID: <BAY5-DAV7966lGRpp9K00026e61@hotmail.com>
>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

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:40:10 UTC