chaunce Posted March 15, 2006 Share Posted March 15, 2006 I know that "value" in an ordered list has been deprecated and on W3Schools they say to use styles to do this. I have searched high and low and have not been able to find the styling for this. Has anyone come accross it? Link to comment Share on other sites More sharing options...
vchris Posted March 15, 2006 Share Posted March 15, 2006 What do you want to do? Link to comment Share on other sites More sharing options...
chaunce Posted March 15, 2006 Author Share Posted March 15, 2006 What do you want to do?<{POST_SNAPBACK}> I am looking to create an ordered list that would start at a number other than 1 and can jumps to other numbers. For example: start with 17 then to 23 then to 31. It is being used for a calendar list. Link to comment Share on other sites More sharing options...
vchris Posted March 15, 2006 Share Posted March 15, 2006 hmmm in pure HTML I don't believe it's possible to jump to different numbers like that. You can start where you want though with the "start" attribute. <ol start="17">... Only other thing I could think of is using a <ol> for each list item thus having the numbers you wish.Maybe someone else will come up with some other way but to my knowledge this is the only way, in html anyway. Link to comment Share on other sites More sharing options...
chaunce Posted March 15, 2006 Author Share Posted March 15, 2006 I have researched those tems and they are both dprecated but W3Schools says "start start_on_number : Specifies the number to start on. Deprecated. Use styles instead"Thanks though Link to comment Share on other sites More sharing options...
aspnetguy Posted March 15, 2006 Share Posted March 15, 2006 I have searched everywhere and cannot find you a solution.The few times something came close it was an abstract CSS solution and they only worked in Opera.I am not sure what to suggest, except I hope you find a way to do it. Link to comment Share on other sites More sharing options...
boen_robot Posted March 15, 2006 Share Posted March 15, 2006 li {list-style: I don't know what should be here}? Link to comment Share on other sites More sharing options...
aspnetguy Posted March 15, 2006 Share Posted March 15, 2006 li {list-style: I don't know what should be here}?<{POST_SNAPBACK}> I have looked through all the list-style: available and none of them had anything to do with start= or value=.I don't know if CSS2 can do this. Surely W3C wouldn't depreciated those attributes without providing an alternative first, would they? Link to comment Share on other sites More sharing options...
Jonas Posted March 15, 2006 Share Posted March 15, 2006 Well, start is only depreciated from Strict doctype. If you are ok with using transitional, it should work fine. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now