baseline of inline element

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)

Thanks,

--srini

Received on Wednesday, 6 February 2002 15:23:09 UTC