"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