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

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

From: Russell Grigaitis <russell.grigaitis@pre-print.com>
Date: Mon, 24 Aug 1998 11:39:04 -0600
Message-ID: <001601bdcf86$1657c4e0$aaa0a8c0@russellg.pre-print.com>
To: <www-style@w3.org>
>>> 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.
> Makes perfect sense.  And I take it >align:left< is achieved
>via "margin-right:auto" and >align:right< via "margin-right:left".
>It's not exactly easy to find this information in the spec.

I gave this a try in IE4.0 and NN4.05 and it didn't work.
I have used the 'text-align' property; however, this does on work in NN.

Russell Grigaitis
Pre Print Incorporated
200, 12420 - 104 Avenue
Edmonton, AB  T5N 3Z9
(403) 488 - 6688
Received on Monday, 24 August 1998 13:36:28 UTC

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