- From: Chris Lilley <chris@w3.org>
- Date: Thu, 10 Jun 2004 14:12:23 +0200
- To: "Andrew Fedoniouk" <news@terrainformatica.com>
- Cc: www-style@w3.org
On Thursday, June 10, 2004, 8:17:50 AM, Andrew wrote:
AF> Does anybody know what is it this 'x-height' here:
AF> "middle
AF> Align the vertical midpoint of the box with the baseline of the parent box
AF> plus half the x-height of the parent."
AF> [http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align]
http://www.w3.org/TR/REC-CSS2/fonts.html#descdef-x-height
AF> And what vertical position of IMG must be here:
AF> p { line-height:20px; }
AF> img { vertical-align:middle; width:4px; height:4px }
AF> <p >sample text <img src="..." /></p>
There is not enough information in that sample to compute the result.
--
Chris Lilley mailto:chris@w3.org
Chair, W3C SVG Working Group
Member, W3C Technical Architecture Group
Received on Thursday, 10 June 2004 08:12:22 UTC