Is it possible with CSS - possibly CSS 3 - to apply style to the things
which mark list items?

I have an ordered list, so list items are marked with "1.", "2.", etc.

I want to make those numbers white on a blue background, and I don't
want to change the style of the actual list items (want to leave the
actual list items black on a white background)

I tried selecting the numbers with :before,

li:before
{
  background: blue;
  color: white;
}

- but no luck

Any suggestions? Is it possible to apply style to just the list markers?
Possibly with CSS 3?
______________________________________________________________________
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