Previous Message
Next Message

List item markers in different colour using pure CSS?

Sent by Barney Carroll on 12 March 2007 15:03


I was slightly shocked to find that there's no allowance in list-style 
for the determination of colour.

So if I were to have a list of black text with red numeric markers, 
would I be forced to create a span within each li, then set the li's 
colour to red and the span back to black?

I'm distraught at the prospect of having to use extra markup for 
something so simple.


Regards,
Barney
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread:

Possibly related: