[css-d] coloring ordered list item numbers

2007-09-29 Thread Anthony Ettinger
I have a simple OL ol lifoo/li libar/li /ol I want to color the numbers blue and the text inside li green; blue | green 1. foo 2. bar This would seem rather common, but alas I can't find a well-supported solution. I've tried li:first-letter { color:

Re: [css-d] coloring ordered list item numbers

2007-09-29 Thread tedd
At 7:47 AM -0700 9/29/07, Joel D Canfield wrote: Maybe it's just me, but I've never thought of this before, yet I've seen it asked here twice in the past week. New fad? joel Same here -- must be a new fad. However, it doesn't seem to me to be that useful:

Re: [css-d] coloring ordered list item numbers

2007-09-29 Thread Rafael
As far as I've seen, this isn't possible (with CSS alone). The most common way to achieve something similar is by using different background colors, which I believe is done like this... http://dev.rsalazar.name/css.d/ol-enum.html Now, I found a minor issue with the typical approach