At 1:28 PM +0200 2/7/09, Jukka K. Korpela wrote: >Sandy wrote: > > > Is there a way to get lists to use decimal points? > >No, not in CSS in a manner that would work in most browsing situations. > >Maybe you can use server-side generated content, so that the numbering >appears as part of the list items (in which case you would make the best >effort of preventing browsers from adding their own numbering, i.e. would >use list-style-type: none if you use list markup). > >Or maybe you could consider using client-side scripting that adds the >numbering, assuming that you find it acceptable that some default numbering >(or no numbering) appears when client-side scripting is off. >
Jukka: You are absolutely right, neither css nor html can accomplish that type of list. My personal choice would not be to use a client side language. Instead, I would do what you advise and set the "list-style-type" to "none" in the css and then within the html, I would use php. Here's a couple of examples, with code: http://www.webbytedd.com/b4/decimal-list/ HTH's. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/