Re: baseline of inline element

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 UTC