inline box questions!! (yes, again :)

hi,

below is some html that i ran thru gecko.
i'm also attaching a jpeg that is the screen shot of this html rendered by
gecko.

now for the question: why is the background decoration affected only by the
base line height and not by the content?? intuitively (to me!) i would
expect the yellow box to

1. surround all the text and the image; OR
2. surround all the text, but not replaced elements.

instead, it seems to me to surround only the line-height size.

i can accept this (if i have to) as the expected behaviour as long as i know
where exactly in the spec it gives me this info.

btw, i have access to the addison-wesley book by lie and bos, and i actually
read it from cover to cover; i still don't understand this scenario. :(

all assisstance would be greatly appreciated.

regards,

-ranjit

-------------
<html>
<style>
.tmpB { border-style: dashed; font-style: italic;
padding: 5px; background-color: yellow;
color: black; }
IMG { border-style: solid; }
</style>
<body>

<span class="tmpB">Some
<big><big><big><big>te(y)xt</big></big></big></big> in a box,
<img src="http://www.google.com/google.jpg">with
an embedded image.</span>
</body>
</html>
--------------

__________________________________________________
FREE Email for ALL! Sign up at http://www.mail.com

Received on Thursday, 16 September 1999 11:17:29 UTC