W3C home > Mailing lists > Public > www-style@w3.org > April 1997

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

From: <dsb@duke.cs.duke.edu>
Date: Tue, 15 Apr 1997 16:12:21 -0400 (EDT)
Message-Id: <199704152012.QAA02553@goldfinch.cs.duke.edu>
To: www-style@w3.org
"David Perrell" <davidp@earthlink.net> writes:

>QingLong wrote:

>>    I think the same is with many other block elements (e.g. lists),
>isn't it?
>>  Maybe it's worth allowing division (<div>) inclusion into
>paragraphs,
>>  and wrap other block elements into <div></div> to include them into
><p></p>?

>That too is 'illegal', as the spec demands that an opening <DIV> close
>an open <P>.

Actually, the OBJECT element appears to have all the properties required
here.  In the current Cougar DTD,[1] OBJECT is allowed inside a P, and
by my reading of that and the WD-object draft,[2] the following will be
legal under Cougar:

    <P>
    ... This can be seen more clearly in Table 2:
    <OBJECT ALIGN=CENTER>
        <TABLE>
          <CAPTION>Table 2: Comparison of frobnitz data</CAPTION>
	  [...]
        </TABLE>
    </OBJECT>
    As we see, the frobnitz levels for the first test case...

and will do more or less what you appear to want.  This may well be a
minor subversion of the intended use of OBJECT, though.

						-sbigham

[1] <URL:http://www.w3.org/pub/WWW/MarkUp/Cougar/HTML.dtd>
[2] <URL:http://www.w3.org/pub/WWW/TR/WD-object>
Received on Tuesday, 15 April 1997 16:14:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:49 GMT