W3C home > Mailing lists > Public > www-style@w3.org > October 1997

Re: With CSS how does one ALIGN block-level elements?

From: David Perrell <davidp@earthlink.net>
Date: Mon, 20 Oct 1997 10:39:20 -0700
To: <neil@bigpic.com>, "Bert Bos" <Bert.Bos@sophia.inria.fr>
Cc: <www-style@w3.org>
Message-ID: <01bcdd7f$19287c40$b111d9cf@davidp>
Neil St.Laurent wrote:
 Knowing that there is no way to get the exact behaviour of what <DIV
 ALIGN=CENTER> would do then, is there?  The best that can be done is
 to text-align center and make all it's contents inline and do each
 one with a separate DIV to make new block-level elements?

What does <DIV ALIGN=center> do that the style declaration

 DIV { text-align: center }

does not? I see no difference in MSIE or NSN. ALIGN is the HTML equivalent
of text-align.

David Perrell
Received on Monday, 20 October 1997 13:41:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:45 UTC