All I want is to be able to change the color of a bullet in a list to a light gray. It defaults to black, and I can't figure out how to change it.
I know I could just use an image; I'd rather not do that if I can help it.
All I want is to be able to change the color of a bullet in a list to a light gray. It defaults to black, and I can't figure out how to change it.
I know I could just use an image; I'd rather not do that if I can help it.
the big problem with this method is the extra markup. (the span tag)
Wrap the text within the list item with a span (or some other element) and apply the bullet color to the list item and the text color to the span.
The bullet gets its color from the text. So if you want to have a different color bullet than text in your list you'll have to add some markup.
Wrap the list text in a span:
Then modify your style rules slightly:
As per W3C spec,
But the idea with a span inside the list above should work fine!