Kelley Poulos
03-14-2003, 10:02 PM
Does anyone know how I can create an ordered list that runs in descending order rather than the standard ascending order. My goal is something like Dave's top ten list.
thanks,
thanks,
|
Click to See Complete Forum and Search --> : Ordered List in descending order Kelley Poulos 03-14-2003, 10:02 PM Does anyone know how I can create an ordered list that runs in descending order rather than the standard ascending order. My goal is something like Dave's top ten list. thanks, Nedals 03-14-2003, 11:20 PM Javascript, Perl, PHP, ASP? Which? Kelley Poulos 03-14-2003, 11:32 PM simple html using <ol> tag, if possible. i'm open to other suggestions. Nedals 03-15-2003, 02:47 PM The <ol> (ordered list) tag is hard coded. It's not really an 'ordered' list, it simply puts numbers, in order, in front of the content. I'm assuming your top-ten list will vary and you would like to update it automatically. That will require a server-side script (CGI/Perl, PHP, ASP and I'm sure one nameless member :) will suggest ASP.NET) Pondering.... It occurs to me, after re-reading the threads, that maybe you just need to make the numbers go in the opposite order. To solve that use a <ul> tag and add the numbers in your content. Also take a look at <dl> tags if you want to change the look a little. Kelley Poulos 03-18-2003, 01:52 AM Thanks, that confirms my "theory". It seems so logical that there would be some kind of a increment attribute, but I guess not. The <ul> approach seems the simplest, so I'll probably go with that for the time being. Ultimately, the server side method would be the way to to. Thanks again. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |