Re: colours for bullets - this one is simple, works, & addresses

Carl Morris (msftrncs@htcnet.com)
Tue, 15 Apr 1997 16:40:54 -0500


Message-Id: <199704152143.QAA06116@inet.htcnet.com>
From: "Carl Morris" <msftrncs@htcnet.com>
To: "WWW HTML List" <www-html@w3.org>
Subject: Re: colours for bullets - this one is simple, works, & addresses
Date: Tue, 15 Apr 1997 16:40:54 -0500

>The point is that the paragraph can not wrap above the table if the
>table tag precedes the paragraph.

uh?

>>  I almost always use
>>
>> <IMG><P>
>>
>> seldom ever:
>>
>> <P><IMG>
>
>Do you have some specific reason for this? IMG is an inline element and
>as such can appear anywhere, even in the middle <IMG
>SRC="someimage.png"> of a line or the end of a paragraph. So by not
>enclosing IMG in another element, you automatically include it in a
>preceding unclosed element, such as a paragraph.

As far as I can tell, and logic can apply, there is no way for:

<P><IMG>some text</P>
<P>some more text</P>

to render as follows:

some text                     |----|
some more text            |----|

(note my email software suddenly started forcing me to use a nonproportional
 font when version 2.0 ppr was released :(

The reason for this is that the object IMG is local to only the first P. 
for both P's to wrap around it, logic says (I am not implying that HTML is
logical, but should be) the IMG must be global to both P's.  I do not rely
on current implementations, there are always incorrect implementations, and
specs alone can't seem to "standardized" rendering because they don't want
to.

>If an author (not you, obviously) wants an image to appear flush right
>following a specific word<IMG SRC="img_on_the_right.png" ALIGN=right>
>in a paragraph, that's doable. The same option is needed for a table,
>which in many ways is more akin to an image than a paragraph. In real
>life it's doable with both NSN and MSIE, yet it is proscribed by the
>HTML spec.

I understand the comparison between IMG and TABLE, they are virtual
identical items, just like OBJECT... they should probably all be treated
the same.  I understand the desire to make inline tables, a table is just
like any other OBJECT....  but instead what I see is a lot of misunderstood
logic in rendering.  Until browsers render things correctly, (specific
example:  MSIE renders <HR> inside a <P>!!!!) I don't know how one can
describe what should be rendered, if one can even decide.

And how can an image be flush right and inline at the same time????  It
would then be illogical to render:

<P>Hello <IMG ALIGN=RIGHT> there</P>

as

Hello there       |----|
  .                     |----|

as it seems most browsers seem to do.  Is this right?  (maybe I should test
this again?)

The only way it should render is:

Hello          |----|
.                |----|
there

What permits the first rendering that I so far remember getting from
browsers?  I figure its that our society has deemed logic unusable... :(