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

RE: CSS manipulation of font positioning relative to baseline

From: Paul Nelson (ATC) <paulnel@winse.microsoft.com>
Date: Tue, 3 Jul 2007 17:19:04 -0700
Message-ID: <49C257E2C13F584790B2E302E021B6F913CE168E@winse-msg-01.segroup.winse.corp.microsoft.com>
To: "Gernot Hassenpflug" <gernot@coda.ocn.ne.jp>, <www-style@w3.org>

The 'vertical-align' property in CSS 2.1 will take care of your need.

The CSS 2.1 'vertical-align' is found at:

Test cases: http://meyerweb.com/eric/css/tests/css2/sec10-08b.htm



-----Original Message-----
From: www-style-request@w3.org [mailto:www-style-request@w3.org] On
Behalf Of Gernot Hassenpflug
Sent: Tuesday, July 03, 2007 10:19 PM
To: www-style@w3.org
Subject: CSS manipulation of font positioning relative to baseline

My first posting, I found this ML via Gmane, but did not a FAQ. Hope
this is the place to ask such questions:

   In LaTeX it is possible to typeset the text content of its
   enclosing "box" aligned to the top or bottom of the box. Is such
   control possible using CSS also, or is the space between an
   individual letter and the top and bottom of its "box" (visible if a
   border is drawn with padding equal to 0px) unmanageable (I.e., tied
   to the line-height)? If so, then I suppose this will be one of the
   next steps to take in the improvement of rendering engines?

Many thanks in advance,
Gernot Hassenpflug, NICT, Tokyo
Received on Wednesday, 4 July 2007 00:18:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:29 UTC