secltor pour parent li css
//in css no way!
//but in java can use this:
$("a.active").parents('li').css("property", "value");
Mehrshad Farzaneh
//in css no way!
//but in java can use this:
$("a.active").parents('li').css("property", "value");
// select all p elements with div as parent
div > p {
background-color: yellow;
}