Home › Forums › CSS › To select a specific parent tag. › Re: To select a specific parent tag.
November 12, 2012 at 1:28 pm
#114048
Member
You cannot work backwards in CSS. I remember reading about parent selectors coming down the pipe, but I’m betting we’re still a couple years away from having support on that.
The simple solution here is to put the class on the list item.
This gives you total control over that list item. If you *can’t* modify the markup, then the only way you’re going to be able to select the parent `