css - Make total area of div a link -


what correct way make total area of div link?

i have multiple div's small tiles , want total area of div link.

should anchor tag wrap span on inside or best way this?

<div class="l-box">     <h3>service 1</h3>     <p>service description</p> </div> <div class="l-box">     <h3>service 2</h3>     <p>service description<</p> </div> 

wrap div <a href="#"></a> , give display: block; a


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -