W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

Re: I want to put <li> inside of <font>,<h#>,<b>,<i> tags

From: Bertilo Wennergren <bertilow@hem.passagen.se>
Date: Thu, 3 Aug 2000 20:47:03 +0200
Message-ID: <003e01bffd7b$49863480$fbe05dd5@chello.se>
To: <html-tidy@w3.org>

Dave Coffin:

>      Tidy complains when I do this:
> 
> <OL>
> <H2><LI>Overview of Process</H2>
> ...
> 
>      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.  Is there any syntax
> that Tidy approves of?

If it's a list item, it's not a heading.
If it's a heading, it's not a list item.

Decide which it is, mark it up as such, and use style
sheets to suggest a presentation. Then you can specify
any text attributes you like.

#####################################################################
                         Bertilo Wennergren
                 <http://purl.oclc.org/net/bertilo>
                     <bertilow@hem.passagen.se>
#####################################################################
Received on Thursday, 3 August 2000 14:41:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT