Previous Message
Next Message

Re: Diff. color bullet/number than text for <li>?

Sent by Marsh, Drew on 13 January 2005 20:08


Antonio Bueno wrote:

> > Is it possible to have one color for the bullet/number for an li and a
> diff.
> > color for the text? [...]
> 
> You can do it adding an additional tag inside the <li> (for example a
> <span>) and setting the colors for "li" and "li span".
> 
> Or you can use an image (better, a background image) for the bullet
> and then the text the color you want.

Thanks all. The nested span was my fallback. I was hoping for a "pure" CSS
approach so I didn't have to add to the markup just to get the color change.
Seems to me like they should have a property to address this, but I guess
not.

Thanks again,
Drew
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
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: