2009/4/23 Jack Blankenships <learningcssindet...@gmail.com>: > If I am vertically aligning an element it seems that the only way to > consistently do so with standard css is to implement a "display: > table-cell; vertical-align: middle;" style on the container. > > Is there any benefit this affords me over just creating a table? I > seems odd to me that the new hero for layout and positioning (CSS) has > to revert back to table-styled position to center elements vertically.
You could vertically center boxes with display:inline-block and variants for IE and Fx2, however, the display:table route is probably easier. And yes, vertical control is pretty weak in CSS. You may use html tables then if you think this is appropriate for your situation. Hope this helps. Ingo ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/