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
>>  and wrap other block elements into <div></div> to include them into

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

    ... This can be seen more clearly in Table 2:
          <CAPTION>Table 2: Comparison of frobnitz data</CAPTION>
    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.


[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 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:43 UTC