Home › Forums › CSS › [Solved] Another tricky :nth-child question › Re: [Solved] Another tricky :nth-child question
November 19, 2010 at 1:42 pm
#74364
noahgelman
Participant
Well, if the ul holding everything had an id or class. you could just go:
ul#id > li
That’ll target only the the next level elements. You don’t even need to use nth-child.