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

Another small question

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Wed, 9 Jun 2004 23:17:50 -0700
Message-ID: <000301c44eb2$afa38150$0601a8c0@ATHLON>
To: <www-style@w3.org>

Does anybody know what is it this 'x-height' here:

"middle
Align the vertical midpoint of the box with the baseline of the parent box
plus half the x-height of the parent."
[http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align]

And what vertical position of IMG must be here:

p { line-height:20px; }
img { vertical-align:middle; width:4px; height:4px }

<p >sample text <img src="..." /></p>

Thanks in advance.

Andrew Fedoniouk.
http://terrainformatica.com
Received on Thursday, 10 June 2004 02:18:09 GMT

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