- From: Richard A. O'Keefe <ok@atlas.otago.ac.nz>
- Date: Fri, 4 Aug 2000 13:52:19 +1200 (NZST)
- To: dcoffin@wildfire.com, html-tidy@w3.org
Tidy complains when I do this: <OL> <H2><LI>Overview of Process</H2> ... <!ELEMENT (OL|UL) - - (LI)+> <!ENTITY % flow "(%text | %block)*"> <!ELEMENT LI - - %flow> BUT H2 is not an element of the %flow class. H1-H6 and ADDRESS aren't supposed to occur in lists *anyhere*. Problem is, if I put the <LI> tag first, <OL> <LI><H2>Overview of Process</H2> ... the numeric index generated by <LI> won't share the text attributes of the header string. No, you have a worse problem. That one isn't legal HTML either. Is there any syntax that Tidy approves of? Yes. <H2>1. Overview of Process</H2> ... <H2>2. Second section</H2> ... <H2>n. Last section</H2> ...
Received on Thursday, 3 August 2000 21:52:32 UTC