I have mutlilevel nested divs. Each div has a span in it.
<div>
<span>AA</span>
<div>
<span>BB</span>
<div>
<span>CC</span>
</div>
</div>
</div>
If I hover a div, the spans css should get another background. This works pretty well, as long as i hover the most outer div, containting the AA span. But the problem is, if i hover the middle div, containing the BB span, the outer div hovers as well. If i hover the CC span div all three spans get the background.
What I want is, that only the one div which the mouse points at is hovered. I look preferably for a CSS solution, but jQUery would be great as well.
Here is a simplified jsfiddle of the problem: http://jsfiddle.net/FufRg/