Forum Moderators: not2easy

Message Too Old, No Replies

CSS2 replacement for Strict XHTML ordered list properties

"start" and "type" attributes

         

bill

9:23 am on Jan 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I am working on a site that makes heavy use of ordered lists. To my dismay the start and type attributes have been depreciated in Strict XHTML 1.0 and 1.1. Fortunately there seem to be some CSS properties: counter-reset and counter-increment I found here:

[w3.org...]

Is this a good cross-browser solution? It seems a bit awkward compared to the method I'm used to. Are any of you using this?

encyclo

3:59 pm on Jan 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I haven't done much testing on this, but I believe that browser support for this, like most of the "generated content" part of the specification is wavering between patchy and non-existant. It looks like XHTML 1.0 Transitional and the start attribute is by far your best option at this point.

bill

4:24 am on Jan 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



That's the impression I'm getting from researching this around the web. It seems that a Transitional DTD will eliminate a lot of hacking.