0

I have a requirement to link the whole div to a certain url. Within the div is content and in the content there needs to be a link. What's the best way to do this? So lets say I have the following code:

<div class="pet_container" onClick="window.location.href='some.html'">
<div class="pet_bullets_text">
<ul>
<li id="links">Retailer locator on <a href="http://www.somewebsite.com" target="_blank"><u>somewebsite.com</u></a> brings customers into your store</li>
</ul>                       
</div>

  • I found my solution after more in-depth researching on this site: http://stackoverflow.com/questions/3979257/execute-href-of-an-anchor-but-not-onclick-of-underlying-div?lq=1 – Don9of11 Jun 14 '13 at 18:39