Is there a way to get rid of the selection rectangle when clicking a link which does not refresh the current page entirely?
Try adding this:
onclick="this.blur()"
Discussed here as well
(CSS?) Eliminating browser's 'selected' lines around a hyperlinked image?