I’ve been looking on the internet for solutions as to why IE7 isn’t opening links correctly for example
<a href="http://www.google.com"><button class="class1">Google</button></a>
Does IE7 not like having ?
I hear I should use jquery for this? But no one linked to any article.
According to the W3C’s specifications on anchor (
<a>) tags and<button>tags, you should be able to do that fine, but according to a quick Google search, you can’t and/or shouldn’t do it, and it doesn’t work in Internet Explorer.This article actually recommends adding Javascript, so the link can be opened in IE also: