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

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

From: John T. Whelan <whelan@physics.utah.edu>
Date: Sat, 22 Aug 1998 16:50:30 -0600
Message-Id: <199808222250.QAA51452@einstein.physics.utah.edu>
To: braden@endoframe.com, 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.
<http://www.w3.org/TR/REC-CSS2/visudet.html#q6> 

	This is why I think we need a cookbook.

					John T. Whelan
					whelan@iname.com
					http://www.slack.net/~whelan/
Received on Saturday, 22 August 1998 18:50:08 GMT

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