Jump to content

Changing the start number of an ordered list in CSS


sitegod

Recommended Posts

I'm trying to get my site to be XHTML 1.0 Transitionally valid, so I run my page through the validator and I find that "start" is deprecated. So I look on W3schools and around for answers but haven't found any- is there a way I can do this in stylesheets (as reccomended by W3schools)? Thanks in advance.

Link to comment
Share on other sites

If you link here and read a few paragraphs, I think value = is the new method to use for this.

<ol><li value="30"> makes this list item number 30.<li value="40"> makes this list item number 40.<li> makes this list item number 41.</ol>

and he value should be set on the <li> item.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...