[thelist] LI value attribute?

James Aylard evolt at pixelwright.com
Mon Dec 2 10:46:01 CST 2002


Head Dragon,

> <ol>
> <li id="1" />
> then
> <li id="2" />
>   and so on.
> </ol>

    But it ain't valid [1], and likely won't work in conforming browsers.
Another option for Marc is to use CSS automated numbering [2], although
browser support will be spotty at best -- one of the inevitable limitations
when implementing XHTML Strict compliance.

1. http://www.w3.org/TR/html4/types.html#type-id
2. http://www.w3.org/TR/CSS2/generate.html#counters

James Aylard




More information about the thelist mailing list