W3C home > Mailing lists > Public > www-style@w3.org > November 2001

RE: How to vertical align an image?

From: Thomas Watson <w@tson.dk>
Date: Wed, 14 Nov 2001 17:12:59 +0100
To: "'Boris Zbarsky'" <bzbarsky@MIT.EDU>, <schinkel@rz.uni-potsdam.de>
Cc: <www-style@w3.org>
Message-ID: <000801c16d27$3ad4c7e0$6b0110ac@ntvcom.dk>
Sorry for the delay...

> -----Original Message-----
> From: Boris Zbarsky [mailto:bzbarsky@MIT.EDU] 
> Sent: 11. november 2001 18:55
>
> I believe your best bet is to create a display:table-cell 
> box positioned to take up the entire viewport and then 
> center your content vertically and horizontally in that 
> using vertical-align and text-align.

I'll try that, and I must confess that I haven't looked through all the
discussions in the forum yet, but it just seems to me that there should
be an option like "text-valign" or "text-vertical-align", just as there
is a "text-align"

/watson
Received on Wednesday, 14 November 2001 11:10:51 GMT

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