On Wed, Aug 3, 2011 at 9:16 PM, Philippe Wittenbergh <e...@l-c-n.com> wrote:
> http://www.w3.org/TR/CSS21/generate.html#counters That's much better than my solution: counter-reset. One thing I'm not clear on is the identifier name. I couldn't find a list of valid identifiers for the counter-reset and what type of element they refer to. In the provided examples, I see things like "item", "section", "subsection", etc... I thought they might have been classes or IDs, but I also saw some examples with elements that didn't have IDs or classes. > > Set a width on the generated counter wide enough to allow for the highest > number in your list ( + display:inline-block ). How do you do that? With the :before pseudo-element? > > Oh, and - use <ol> > > <ol> > <li><a href=""></a> > .... > > > > Philippe > -- > Philippe Wittenbergh > http://l-c-n.com/ > Some related pages: http://www.w3schools.com/cssref/pr_gen_counter-reset.asp http://help.dottoro.com/lckqqtdl.php -- Ghodmode http://www.ghodmode.com/blog ______________________________________________________________________ css-discuss [css-d@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/