Because #patientinfolink is the id of the a attribute. You know if you have <p id="blah"> you'd use p#blah if you wanted to target specifically a paragraph with an ID of blah
Anyway, so <a id='patientinfolink' ..> needs to be targeted as a#patientinfolink
you read the selector from left to right so #patientinfolink a assumes that the anchor tag is contained within something that has an ID of patientinfolink.
What Mr A was trying to explain was instead of adding the ID to your anchor tag, add it to the list item. So if your nav is
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Page 1</a></li>
etc.
</ul>
Then you put the ID on the list item, and the id on the body tag, then you target it as per the example he gave.
- or have I just confused things even more?
