Bob Rosenberg wrote:

> At 18:22 -0500 on 02/07/2008, Tim White wrote about Re: [css-d] start
> an ordered list at a number > 1:
>
>> You can use <ol start="x"> (whatever number you need) to start a
>> list at a new number. Or, you can use <li value="x"> to skip
>> numbering within a list.
>>
>> Both attributes are deprecated, so they are only valid under HTML
>> 4.01 or XHTML 1.0 Transitional.
>
> OTOH, by use of an ID= on the LI, you can use a CSS command to
> [re]set the index value.

I'm afraid that doesn't help. The key issue is that the CSS declarations 
(not commands) that would, in theory, create an ordered list 
presentation with specific numbers assigned in CSS, don't work in IE. It 
might be marginally interesting for some (mostly non-WWW) purposes to 
consider whether they work in other browsers.

But the specific ways in which the numbering would be implemented is 
fairly irrelevant. There would be many ways to set an LI element's 
number to a specific value, using id or class attributes or contextual 
selectors.

The bottom line is that for the time being (several years), if you want 
specific numbering, use either HTML attributes or make the numbers part 
of the content (perhaps using dynamic page creation or preprocessing), 
and use CSS just for the choice of specific numerals and maybe their 
formatting (size, boldness etc.).

Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/ 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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