Possible Duplicate:
Complex CSS selector for parent of active child
I have the following code:
<li>
<a href="jsfiddle.net">Text</a>
</li>
<li>
only text
</li>
I have applied css to li element as:
li {list-style-type: circle;}
I want that the element li on hover should have list-style-type:disc, but only if it has an anchor element inside it. I know its a cakewalk using javascript, but is it possible to achieve this without javascript?
I have tried something like this, but could not achieve it: http://jsfiddle.net/k5SQe/