- From: Jesse McCarthy <mccarthy36@earthlink.net>
- Date: Wed, 24 Oct 2001 14:35:30 -0400
- To: www-style@w3.org
"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 UTC