<div style="width:500px; height:500px; display:table-cell; vertical-align:middle; text-align:center; border:1px solid red">centered</div>
The word "centered" is nicely centered (at least in FF). Internet Explorer does not support table-cell, or table-row for display, but this is not the fault of CSS.
You have a point, but that's CSS version *two*, isn't it?
What I want is the ability to align the content of a DIV, for instance, or any block element, vertically, and I'm asking why it wasn't included in CSS-1.
I can't think of any policy-type reason why it wasn't, that's all, and I don't see vertical alignment as being directly related to table-cell display either.
------------------------------------------------------------
"Have You Validated Your Code?"
John Horner (+612 / 02) 9333 3488
Senior Developer, ABC Online http://www.abc.net.au/
------------------------------------------------------------
******************************************************
The discussion list for http://webstandardsgroup.org/See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
