W3C home > Mailing lists > Public > www-style@w3.org > February 2002

Re: baseline of inline element

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 10 Feb 2002 09:02:11 +0000
Message-ID: <3C663713.2000800@hixie.ch>
To: Srinivasan Raman <Srinivasan.Raman@oracle.com>
CC: www-style@w3.org
Srinivasan Raman wrote:
> I am trying to figure out how to calculate the baseline of a inline
> element (or the box generated for that inline element).
> 
> Assuming the inline element has a text children.
> 
> Would this be correct
> 
> Baseline of inline box = (inline_top_margin + inline_top_border + 
>                           inline_top_padding + text_baseline)
I don't exactly understand your question, but it definitely has nothing to do 
with padding, margins or borders... see:

    http://www.people.fas.harvard.edu/~dbaron/css/2000/01/dibm

-- 
Ian Hickson
``The inability of a user agent to implement part of this specification due to
the limitations of a particular device (e.g., non interactive user agents will
probably not implement dynamic pseudo-classes because they make no sense
without interactivity) does not imply non-conformance.'' -- Selectors, Sec13
Received on Sunday, 10 February 2002 04:02:19 GMT

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