The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Another tricky :nth-child question Re: [Solved] Another tricky :nth-child question


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.