Topic: Backward ordered lists in CSS (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: Malmö, Sweden |
posted 07-21-2003 03:47
When cleaning up the code for an old site I've made for a composer, and remaking it to a CSS-based strict html, I've come to the page with a long list of compositions. The list has been ordered from 1 to a few hundred, counting from the first work composed. |
Maniac (V) Inmate From: Cell 666 |
posted 07-21-2003 04:22
As far as I know decending ordered lists haven't been implemented in CSS or HTML. However, if the list you're working with is a few hundred items long, you probably wouldn't want to do it by hand anyway. |
Nervous Wreck (II) Inmate From: Malmö, Sweden |
posted 07-21-2003 04:36
Thanks synax! That is an idea I didn't even think of. Mostly because I haven't learned the languages very good yet. I did some javascripting, but I can't say that I know it. I will have a look into how I can solve it though. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 07-21-2003 06:46
Although it is possible to make a list count in descending order, I'm not sure that it's possible to specify where it *starts* counting from (I think that's stuck at zero). Even if there is, I can pretty much guarantee that browsers don't support these features yet - at least not IE. |
Nervous Wreck (II) Inmate From: Malmö, Sweden |
posted 07-21-2003 13:16
Slime, so you mean it is possible to make a list descending? My list will start counting on 1, the first object. But the first object will be at the bottom of the page. And the object with the highest number will be on top of the page. |
Maniac (V) Inmate From: Cell 666 |
posted 07-21-2003 18:59
Personally, I'd try it with PHP. If you want to try it with PHP or Perl (or another ser-side language), then head on over to the Server-Side Scripting forums and ask for some pointers there. |
Nervous Wreck (II) Inmate From: Malmö, Sweden |
posted 07-21-2003 21:03
Thanks, synax, I will! |