I thought maybe there was a minor mistake I was missing, since it seems like everything should work fine. However, I tried it in CodePen just to be sure, and it worked fine. Check your HTML/CSS files for typos.

ralphm
—
2013-02-25T04:32:32Z —
#3

Yes, that should work, unless some other style is overriding it. You could try ul ol > li

Lynnec
—
2013-02-25T20:33:55Z —
#4

I have moved the code to a new page and validated it.

ol>li works but ul>li does not - all li elements are coloured.

ralphm
—
2013-02-25T22:37:44Z —
#5

We need to see your full code to know what's happening here. Make sure to clarify what yu want to see happening.