I know this is a fairly old topic, but it's come up several times and I
don't know if this solution has ever been stated before:
You can actually set the "value" attribute for the <li> elements with
the number you want it to have. After that, all succeeding <li>s will be
numbered based on that one.
Check the bottom of this link for details:
http://www.w3.org/TR/html401/struct/lists.html#h-10.2
(For those that don't remember, this discussion was about starting an
ordered list at a number other than one.)
Jason Friesen wrote:
That's pretty much what we did; usually <hx> and <p>, with <ul> where
appropriate. But I still look longingly at the counters in CSS, and
grimace everytime someone says, "But we have to add in another point
between 2 and 3..."
On 2007-Oct-14, at 14:10 , <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> wrote:
Certainly for this example, the use of an ordered list is incorrect -
there is a strong hint there in the description; this should be
marked up with <p> tags, with the identifier as the first bit of
text, ie the number is content in this example.
If you think about it, the 'label' of each item MUST remain the same,
regardless of how much or little of the document is quoted, and more
to the point adding or removing content MUST NOT alter the numbering.
This is the exact opposite of what an OL is intended to do.
Mike
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************
--
Christian Snodgrass
Azure Ronin Web Design
http://www.arwebdesign.net/ <http://www.arwebdesign.net>
Phone: 859.816.7955
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************