Chris Hoffman wrote:
> ol {
> counter-reset: list;
> list-style-type: none;
> }
>
> li:before {
> content: counter(list) ". ";
> counter-increment: list;
> color: #F00; /* and/or other styling... */
> }
Chris, just read this post. It somehow passed me by the other day.
Brilliant, brilliant. I only found out about the 'counter' feature
yesterday, I'm still reeling! CSS3 is shaping up to be a (beneficent)
monster. The fact that it can now /define/ and /call/ objects... Is
incredible.
This is the first instance I've seen of it that I can grasp completely
(possibly because it's specifically fulfilling my needs), thanks a lot.
Regards,
Barney
PS: The client hates fire, foxes and operas.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/