W3C home > Mailing lists > Public > www-style@w3.org > July 2004

Re: Another small question

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Thu, 8 Jul 2004 15:29:44 -0700
Message-ID: <003f01c4653b$1214b7c0$eb01000a@AFedoniouk>
To: "Gavin Kistner" <gavin@refinery.com>
Cc: "W3C Style List" <www-style@w3.org>

Thanks, Gavin, but your article does not answer on my question.

> > And how to place image in the middle of line box (height)?

"Line box" here is a key point.

<p><img style="vertical-align:???" />one<sub>two<sub>three</sub></sub></p>

What ??? value should be to place img in the middle of its line box?

there are two values related to vertical alignment of something in the line
box: 'top' and 'bottom'.
But 'middle' means something completely different.

I guess that in ideal world values should be
text-top, text-bottom, text-middle
top, bottom, middle.



Andrew Fedoniouk.
http://terrainformatica.com



From: "Gavin Kistner" <gavin@refinery.com>
> On Jun 10, 2004, at 11:29 AM, Andrew Fedoniouk wrote:
> > And how to place image in the middle of line box (height)?
>
> Belated answer, but see http://phrogz.net/tmp/vertical-align/index.html
>
Received on Thursday, 8 July 2004 18:30:18 GMT

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