Sent by David Balch on 24 May 2005 16:04
Hi Geoffrey,
> From: Geoffrey Earl Brewster [EMAIL-REMOVED]]
>
> <body>
> <ol>
> <li> Get out of bed. </li>
> <li> Clean up in the bathroom.</li>
> <li>Put on some clothes.
> <p>At this point I was interupted by a stray cat wandering
> in to my room, sniffing at things, then leaving. Without any
> reason not to, I carried on my routine...</p> </li>
> <li>Check the post.</li>
> <li>Eat some breakfast.</li>
> </ol>
> <p>How exciting am I!<br />
> </p>
> </body>
> </html>
Unfortunately, this is not valid XHTML as <p> isn't allowed inside <ol>.
For a moment I thought there was an easy solution when I was looking for a
difficult one ;-)
However, this could be quite a good solution for this problem - if it's
acceptable to the HTML working group. Conceptually one doesn't find
paragraphs in lists - only list-items. One could argue that something that
isn't a list-item within a list should be treated as if it weren't in the
list, regards formatting at least.
Thanks for your reply though,
Dave.
> Geoffrey E. Brewster
> Manager of ATLAS Web Services
> University of Illinois at Urbana-Champaign G70 FLB
> 707 S. Mathews MC 164
> Urbana, IL 61801
> (217)333-2048
> [EMAIL-REMOVED]
> -------------------------------------------
> It is the mark of an educated mind to be able to entertain a
> thought without accepting it.
> ---Aristotle
>
>
> -----Original Message-----
> From: [EMAIL-REMOVED]
> [EMAIL-REMOVED]]
> On Behalf Of David Balch
> Sent: Tuesday, May 24, 2005 8:19 AM
> To: [EMAIL-REMOVED]'
> Subject: [css-d] CSS list numbering - non-contiguous lists in
> XHTML 1.1
>
> Hi,
>
> (re-sending as my first didn't get to the list. Apologies to
> anyone receiving it twice.)
>
> I wonder if anyone can help me, I would like (using XHTML 1.1
> and CSS) to have a numbered list that is interupted part way
> through (e.g. after item 3), then continues with the next
> consectutive number in the sequence (e.g.
> item 4), something like [MORN].
>
> This is easy to do in HTML 4, using the depreciated start
> attribute [START] on a li element. However, as this element
> is not present in XHTML 1.1 it cannot be used.
>
> If there is a way to do this in CSS (2 or 3), I'd love to
> know about it.
>
> Using XHTML 1.0 isn't really an option, as I'm working with
> XHTML 1.1 plus MathML 2.0 [X+M]
>
> Cheers,
> Dave.
>
> [START] http://www.w3.org/TR/html401/struct/lists.html#adef-start
>
> [X+M] http://www.w3.org/TR/MathML2/appendixa.html#parsing.module
>
> [MORN] Here's the sort of numbering I'm after.
> ----------8<----------
> This morning I went through my usual waking up routine:
>
> 1) Get out of bed.
> 2) Clean up in the bathroom.
> 3) Put on some clothes.
>
> At this point I was interupted by a stray cat wandering in to
> my room, sniffing at things, then leaving. Without any reason
> not to, I carried on my routine...
>
> 4) Check the post.
> 5) Eat some breakfast.
>
> How exciting am I!
>
> ----------8<-----------
>
> --
> David Balch. | Web developer.
> T: +44 (0)1865 280979 | Technology-Assisted Lifelong Learning.
> F: +44 (0)1865 280982 | University of Oxford.
> E: [EMAIL-REMOVED]
>
> TALL, OUDCE and the University of Oxford accept no legal
> responsibility for the contents of this message. Any views or
> opinions presented are only those of the author and not those
> of TALL, or OUDCE, or the University of Oxford.
> If this email has come to you in error please delete it and
> any attachments
> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by
> evolt.org -- http://www.evolt.org/help_support_evolt/
>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/