If you try the code you posted you'll find that it doesn't have the problem you describe. Which tells us the problem is elsewhere in your code. Please post the URL to a page that displays the problem.
Without having seen the page, I guess that maybe you use more absolute positioning and something is covering up your link. But that's just a guess.