Previous Message
Next Message

NOT restarting numbered lists after <h1> element

Sent by Climis, Tim on 15 December 2009 22:10


> After inserting the <h1> I find I cannot continue with my second list item as "2"; the list starts
over at "1". Can I do that using CSS? I've got 
> the other sub-items to style correctly using CSS, so this is my only problem.

There's two answers:
There is the start attribute of ol (<ol start="2">) which apparently is deprecated (just learned
that now)
And then there's counter reset, which is the CSS replacement.  I'm not sure how it works yet, but I
found this page:
http://www.arraystudio.com/as-workshop/make-ol-list-start-from-number-different-than-1-using-css.html

---Tim

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: