Hello

Trying to change the color of list markers, I came across the ::marker pseudo element. Anyway, the following code does not seem to have an effect in any browser I have access to:

li::marker {
  color:#364065;
}

I have not found anything on browser support for this pseudo element. Is this the right way to go for the future?

(I am looking for a CSS-only solution - I know I could wrap the contents of the <li> in a <span> and apply a different color to this one, but I can't change the markup. I also don't like to use a list-style-image because it does not scale with the text.)

Thanks for your comments!

Best regards
Markus
______________________________________________________________________
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