Can anyone come up with a brilliant solution as to why my internal links are not functioning properly on a webpage? I've coded the HTML with the usual
<a href="#link"><button>Some Text</button></a>
....
bunch of content
....
<div id="link"></div>
Take a look at the codepen link provided: http://codepen.io/Cornucopia/pen/vyrPWw?editors=1100#0
For some inexplicable reason, this setup was not working until I started eliminating pieces of code and pinpointed the line causing the issue. It turns out that one of the linked CSS files contained a "float: left;" rule for the li elements. This style is not directly related to the button link, so it's puzzling why it would affect the hyperlink functionality. Nevertheless, once I commented out " .grid .tile {float: left;} ", the link started working again.