> As a personal opinion from someone who uses CSS: My favorites are both > the ideas of margin:auto and vertical-align:center for blocks. That's > for one simple reason: Consistancy. Margin: auto already does work, but requires absolute positioning of the inner block. I think the reason that one cannot do it for purely in flow blocks is that block context is really a vertical inline mode. If vertical-align: center works for table cells, I would presume, but haven't tested it, that display: table-cell will do the necessary, always assuming an adequate CSS implementation in the browser.Received on Saturday, 16 September 2006 09:44:31 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:46 GMT