Use the following rule:
div.c1 li.c2 a {
color: red;
}
This matches a
tags inside of li
tags with class c2
inside of div
tags with class c1
.
For added uniqueness, you might want to give the a
tag its own class name.
Also, li
tags should only appear inside of list tags. (ul
or ol
).
Did you mean
?