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

> -----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 UTC