Deciding to do something for the good of humanity, deko
<deko@nospam.com> declared in
comp.infosystems.www.authoring.stylesheets:
> I'm trying to get output that looks like this:
>
[quoted text clipped - 4 lines]
> A. subordinate point
> B. subordinate point
ol { list-style-type: decimal }
ol ol { list-style-type: upper-alpha }
<ol>
<li>main point 1
<ol>
<li>subordinate point</li>
<li>subordinate point</li>
</ol>
</li>
<li>main point 2
<ol>
<li>subordinate point</li>
<li>subordinate point</li>
</ol>
</li>
</ol>

Signature
Mark Parnell
My Usenet is improved; yours could be too:
http://blinkynet.net/comp/uip5.html
deko - 26 May 2006 06:17 GMT
> ol { list-style-type: decimal }
> ol ol { list-style-type: upper-alpha }
[quoted text clipped - 13 lines]
> </li>
> </ol>
Outstanding!
That example was exactly what I needed!
Thanks!
dingbat@codesmiths.com - 26 May 2006 11:17 GMT
> <ol>
> <li>main point 1
[quoted text clipped - 3 lines]
> </ol>
> </li>
I'd do somthing like this
<li><span class="foo" >main point 1</span>
<ol>
Although your example is valid HTML, it uses a mixed content model for
<li>. This makes it difficult to apply CSS later, if you wanted to
style the text "main point 1" without affecting the second-level list.
Mixed content models are always a pain. They're bad enough for inline
text, but I'd make an effort to avoid them around anything block-like
(such as lists).
> I've put up a first shot at it here:
>
> http://www.clearpointsystems.com
That's a 404.
> Also, should I sub-class the <ol> or just the <li> ?
"Sub-class"? No comprendi.

Signature
Jack.