Last Updated: February 25, 2016
·
489
· craigmarvelley

Fix moving hyperlinks in IE10

Came across an issue in IE10 (may affect other versions too, haven't checked) where when clicking on a hyperlink the link would shift upwards positionally, preventing the click event from occurring and so the link being followed.

An examination of the source revealed that break tags had been placed within the hyperlink tag, e.g.

<a href="foo.html"><br /><br />Link text</a>

Removing the break tags or engaging compatibility mode addressed the issue.