The code that I have been given has elements that are dynamically painted, are informative and are within a
, I would like to know how I can, having the id of a div
that is within this a
, select by CSS that a
.
<a href="x">
<div id="z">
</div>
</a>
So, having the div #z
, how do I select the node that encapsulates this div using css?