On Wed, Dec 16, 2009 at 11:03 AM, Climis, Tim <tcli...@indiana.edu> wrote:
>> 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
>
Use the start attribute and an HTML 5 doctype if you want it to be
valid. The spec writers have seen the light that the numbering is
semantic rather than presentational and handed the task back to HTML.
More importantly, all browsers support <ol start="5">, while support
for css counters isn't universal.
-- 
Richard Grevers, New Plymouth, New Zealand
Dramatic Design www.dramatic.co.nz
______________________________________________________________________
css-discuss [cs...@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