2014-11-28 18:23, Ken Robinson wrote:

This is not a CSS related question -- it's just HTML

There is a CSS related issue here, too.

<p>An ordered list:</p>
<ol>
   <li value=92>Coffee</li>
   <li value=91>Tea</li>
   <li value=84>Milk</li>
</ol>

Will do what you want (but without leading zeros).

The CSS issue is the leading zeros.

In theory, even CSS 2.1 lets you specify
list-style-type: decimal-leading-zero
but this seems to mean just that a leading zero is added to numbers less than 10.

But I think the real issue here should be: since the numbers appear to be part of essential content, rather than just stylistic numbering, they should be included in document content, not in CSS or even in HTML attributes. As this is the approach on page cited, I’m not sure what the problem being solved is; but I do see some problems being created by attempts at doing the numbering with CSS...

Yucca

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to