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

David Perrell (davidp@earthlink.net)
Tue, 15 Apr 1997 16:52:53 -0700


Message-Id: <199704152354.QAA29027@iceland.it.earthlink.net>
From: "David Perrell" <davidp@earthlink.net>
To: "Carl Morris" <msftrncs@htcnet.com>, "WWW HTML List" <www-html@w3.org>
Subject: Re: colours for bullets - this one is simple, works, & addresses
Date: Tue, 15 Apr 1997 16:52:53 -0700

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

<P>Some text to wrap <TABLE ALIGN=right
BORDER=1><TR><TD>TABLE</TABLE>around the table. Some more text to wrap
around the table.

The first line goes full length. The top of the table is below the
first line.
 
> 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            |----|
> 

No, there isn't. You'd have to apply the ALIGN=right attribute to the
IMG. You did not use ALIGN in any of your examples. But for the sake of
continuing the discussion, let's assume you did.

> 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.

Whether the image is "local" or "express" isn't an issue. The
right-aligned IMG element is "floated" to the right and maintains its
own bounding box. It seems logical to me that the second P would be
rendered into any available space between the left margin and the left
edge of the IMG. This behavior can be overruled using <BR CLEAR=right>.

> 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?)

When the "inline image" is aligned right it ceases to be inline?

David Perrell