scott100 Posted June 23, 2006 Share Posted June 23, 2006 This is the old way to style a list and start it from a specified number. <ol type="I" start="5"> <li>Coffee</li> <li>Tea</li> <li>Milk</li></ol> This is the new way, but i can't figure out how to start it from 5 <ol style="list-style-type: upper-roman;"><li>Coffee</li><li>Tea</li><li>Coca Cola</li></ol> Simple? probably, but i can't find out how anywhere Link to comment Share on other sites More sharing options...
aspnetguy Posted June 23, 2006 Share Posted June 23, 2006 is the start attribute depreciated? Link to comment Share on other sites More sharing options...
scott100 Posted June 23, 2006 Author Share Posted June 23, 2006 is the start attribute depreciated?<{POST_SNAPBACK}> I don't know I try a page under strict and see what happens. Link to comment Share on other sites More sharing options...
aspnetguy Posted June 23, 2006 Share Posted June 23, 2006 this is all I could find. It worksin FF and Opers but not IE (go figure)http://www.timrivera.com/tests/ol-start.htmlYou could use the IE conditional comments to hack in the <ol start=""> to make it work iin IE but there goes your strict validation Link to comment Share on other sites More sharing options...
scott100 Posted June 23, 2006 Author Share Posted June 23, 2006 Nope it failed.Error Line 9 column 48: there is no attribute "start".<ol style="list-style-type: upper-roman;" start="7">So what's replaced it? Link to comment Share on other sites More sharing options...
aspnetguy Posted June 23, 2006 Share Posted June 23, 2006 wow we are posting all over the place. I never have this problem with anyone else but oyu. We always post at the same time.See my post above for the CSS solution. Link to comment Share on other sites More sharing options...
pulpfiction Posted June 23, 2006 Share Posted June 23, 2006 I dont think there's a direct way to get that, even the "Value" attribute of <li> is deprecated too. so may be it needs some javascript work around.... Link to comment Share on other sites More sharing options...
pulpfiction Posted June 23, 2006 Share Posted June 23, 2006 Hey ASPNETGUY the site says This is how the ordered list is rendered in your browser (it should start with the number 10.)I use IE and the list displays like this [ not starting with 10 ]1. first2. second3. thirdit doesnt seem to work in IE Link to comment Share on other sites More sharing options...
aspnetguy Posted June 23, 2006 Share Posted June 23, 2006 Hey ASPNETGUY the site says This is how the ordered list is rendered in your browser (it should start with the number 10.)I use IE and the list displays like this [ not starting with 10 ]1. first2. second3. thirdit doesnt seem to work in IE<{POST_SNAPBACK}> Hense me saying this:this is all I could find. It worksin FF and Opers but not IE (go figure)http://www.timrivera.com/tests/ol-start.htmlYou could use the IE conditional comments to hack in the <ol start=""> to make it work iin IE but there goes your strict validation sad.gif Link to comment Share on other sites More sharing options...
pulpfiction Posted June 23, 2006 Share Posted June 23, 2006 MY BAD, missed that part, sorry... Link to comment Share on other sites More sharing options...
aspnetguy Posted June 23, 2006 Share Posted June 23, 2006 no problem. I do that all the time. Link to comment Share on other sites More sharing options...
scott100 Posted June 23, 2006 Author Share Posted June 23, 2006 I dont think there's a direct way to get that, even the "Value" attribute of <li> is deprecated too. so may be it needs some javascript work around....<{POST_SNAPBACK}> value deprecated too is this planned for the future because it validated as strict ok?this is all I could find. It worksin FF and Opers but not IE (go figure)Must be because it's part of CSS level 2 revision 1, IE doesn't fully support level 2. http://www.w3.org/TR/CSS21/generate.html#counters Link to comment Share on other sites More sharing options...
S@m Posted June 23, 2006 Share Posted June 23, 2006 Must be because it's part of CSS level 2 revision 1, IE doesn't fully support level 2. But, if you want a lot of crap and spyware installed, IE fully supports that. 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