Image inside inline block

Write or wrong?

   <span style="border: solid black">
     Hello <img src="redbox.jpg" width="30" height="30" alt="MAIL"> world
   </span>

As I understand CSS2 spec "red box" and surrounding it "Hello world" 
should form "line box".
And as spec states "A line box is always tall enough for all of the 
boxes it contains."

So I belive my red box should be inside black border. But browsers I 
tried (Mozilla and Opera) display red box partially outside frame (box 
crosses top line of frame).

Question is: am I right and these respectable browsers wrong?

PS. Internet Explorer displayed red box inside frame!! But scrued frame 
itself. Is there any "reliable" browser?

Received on Friday, 10 January 2003 01:38:24 UTC