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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:51 GMT