I have sitewiode styling of buttons using the html element. For buttons that submit forms this works well. However some buttons are just links. Therefore I use this syntax:
<a href="#"><button>Link Text</button></a>
This works perfectly in all browsers except IE, where the button clicks but nothing happens. The link isn’t followed.
How can I get this to work in IE?
Don’t put the button inside the link. You can easily style the
<a>to look just like the<button>with CSS.