W3C home > Mailing lists > Public > www-style@w3.org > September 2006

Re: [CSS3 box] Proposal: content-align

From: Werner Donné <werner.donne@re.be>
Date: Wed, 13 Sep 2006 10:08:04 +0200
Message-ID: <4507BC64.2030403@re.be>
To: www-style@w3.org

Hi Manuel,

The horizontal alignment can already be achieved by placing the
text in an inner box with a specified width and setting its
margin-left and margin-right to "auto". Left and right alignment
is done by setting one of them to "0".

There is no such thing for vertical aligment. Perhaps, given a
container with a specified height, the same rules could be introduced
for margin-top and margin-bottom?

Regards,

Werner.
-- 
Werner Donné  --  Re
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne@re.be
Received on Wednesday, 13 September 2006 08:07:47 GMT

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