W3C home > Mailing lists > Public > www-style@w3.org > August 1998

RE: The 'align' property (or lack thereof)

From: Braden N. McDaniel <braden@shadow.net>
Date: Sat, 22 Aug 1998 17:56:04 -0400
To: "'John T. Whelan'" <whelan@physics.utah.edu>, <www-style@w3.org>
Message-ID: <000001bdce17$a94b3590$8d2604d1@bonezero>
> -----Original Message-----
> From: www-style-request@w3.org [mailto:www-style-request@w3.org]On
> Behalf Of John T. Whelan
> Sent: Saturday, August 22, 1998 5:39 PM
> To: www-style@w3.org
> Subject: The 'align' property (or lack thereof)
>
>
> 	I've been using the 'align' property to center blocks on the
> page, and only recently discovered there's no such property in the CSS
> spec, although NS 4.03 supports it.  'text-align' (which is not
> supported by NS) can be used to align text within a block, but how is
> one supposed to center an entire block within its containing block
> without an 'align' property?

You set both margin-left and margin-right to "auto". I don't know if any
browsers support this yet.

Braden
Received on Saturday, 22 August 1998 17:49:06 GMT

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