W3C home > Mailing lists > Public > www-style@w3.org > June 2005

Vertical Alignment

From: Manuel Strehl <manuel.strehl@stud.uni-regensburg.de>
Date: Mon, 06 Jun 2005 13:55:49 +0200
Message-Id: <s2a455ef.033@gw.ngate.uni-regensburg.de>
To: <www-style@w3.org>

Hi.

I'm wondering, why the "vertical-align" property is restricted to table and inline elements. Actually in about 60% of the cases, in which I could need it, block elements are involved. It would be so fine, if I just could write

div { 
height:something rather high;
vertical-align:middle; }

and the Browser would automatically center it in the middle.

Manuel
Received on Monday, 6 June 2005 11:56:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:37 GMT