Show me another way to write so it finds the first A:
$("UL.tab LI A.selected, UL.tab LI A:first-child").corner("tl:7px bl:7px");
As my Jquery doesnt seem to go for the first A tag!?
Markup:
<ul class="tabNavigation">
<li><a href="#Description" class="selected">Description</a></li>
<li><a href="#Details">Details</a></li>
<li><a href="#Features">Features</a></li>
<li><a href="#SpareParts">Spare Parts</a></li>
<li><a href="#Downloads">Downloads</a></li>
</ul>
For your markup you can use the following selector:
Here is better to use
:firstselector for<li>, since<a>is always the:first-childof<li>.