W3C home > Mailing lists > Public > www-style@w3.org > October 2001

Re: How is it possible to devise such a feeble system?

From: Jesse McCarthy <mccarthy36@earthlink.net>
Date: Wed, 24 Oct 2001 14:35:30 -0400
To: www-style@w3.org
Message-ID: <MWMail.bdptiioq@host.none>
"Peter Foti (PeterF)" <PeterF@SystolicNetworks.com> wrote on 10/24/01 2:17:55 
PM: 
>
>Ooops... my bad.  You are correct, vertical-align only applies to inline
>items (which seems foolish to me).  Reading the spec, it almost seems
>like they expected all vertical alignment to be done by setting the
>margins.  However, in a case where you want to center a box, you
>probably don't know what the margins should be.
>
>Pete

That's right, you can't use the margins becaue the correct value would depend 
on the height of the content / the height of the viewport, and percentage 
values are based on the width of the containing block. 
Received on Wednesday, 24 October 2001 14:40:06 GMT

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