Really confused about floaters.

Alexandre Rafalovitch (arafalov@socs.uts.EDU.AU)
Fri, 21 Nov 1997 19:36:17 +1100 (EST)


Date: Fri, 21 Nov 1997 19:36:17 +1100 (EST)
From: Alexandre Rafalovitch <arafalov@socs.uts.EDU.AU>
To: www-html@w3.org
Message-ID: <Pine.SOL.3.95.971121192524.25268B-100000@charlie>
Subject: Really confused about floaters.

Hi,

I am completely confused about floating objects. On one hand they are
inline (judging by images <img src="bla.gif" align=left>) On another
hand,  if table has a width and alignement, the text floats next to it
too. And on the gripping hand (:-}), aligned images in both NS and MSIE
seem to not care about inline, blocks, etc at all. All they care is when
<br clear=val> is given. That sure makes it easier to implement, but
confuses the closing blocks, etc.

For example:
some text <img src="img.gif" align=left> some more text
<p>
some more text on the next paragraph.

From one side, aligned image was inline as it did not start new block
(even though CSS seems to hint it should???). Therefore, one would expect
that text after <p> should be in new block and not flowing around an image
from the old block. But this is exactly what it does.

Or do we say, that if the image does not have align it is inline, but if
it does, it is not even part of the surrounding paragraph anymore?

Also, in the example above, should "some more text" flow on the same line
as "some text" if possible, or should it always start at the top-left of
the image we are aligning. CSS spec never (AFAIK) shows how to deal with
it. It always assumes that the floater will be the first element(before
text) in the block. 

All confused,
   Alex.