I have a outer container, containing two links. They are aligning horizontally. The first one contains a div with background image and the second one is just text. The problem is the whole outer container acts as the first anchor, links to the first url while it is supposed to link nothing. Here's the simplified layout
<div id="links-block">
<a href="http://www.google.com"><div id="edit-quote-button"></div></a>
<a href="http://www.yahoo.com" id="preview-pdf-link">Preview the PDF</a>
</div>
Here is the example JSFiddle. I am just wonder how to structure this set of elements, to prevent this problem.