No, there is no way in CSS to specify a selector based on child elements.
You would need to add something to distinguish the elements themselves li, as a class in all lielements containing links.
If you can use jquery, you can add the class to elements licontaining anchor tags:
$('li:has(a)').addClass('linkItem');
, jQuery, :
var items = document.getElementsByTagName('LI');
for (var i=0; i<items.length; i++) {
if (items[i].getElementsByTagName('A').length > 0) {
items[i].className = 'linkItem';
}
}