Jeff Blaine wrote:
> I don't see a CSS2 way to apply a color to JUST the list item
> marker (disc, square, whatever).
> 
> Have I missed it?  I don't want to use an image.  I just want
> to make the list item marker itself 20% less imposing by
> lightening it relative to body text color.

Yeah, CSS2 doesn't have it. It should be possible in CSS3. (Same
with changing the list marker to something arbitrary.) Unfortunately
the CSS3 Generated Content module isn't actively edited right now.
I'm hoping to get to it once Backgrounds and Borders is in CR.

Depending on what exactly you want to do, you might be able to work
around the problem by using :before

   li { display: block; }
   li:before { content: "[bullet]";
               color: [color];
               display: inline-block;
               width: 1em;
               margin-left: -1em; }

but I believe this won't work in IE.

~fantasai
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to