Wrapping a div in an anchor tag
Wrapping a div in an anchor tag
Out of context: Reply #1
- Started
- Last post
- 10 Responses
- voiceof0
I dont think you are supposed to put <div> in anchor tags, try a <span> tag instead. If that doesn't work put cursor: pointer; in the css for the <div>
- h2 elements shouldn't be placed within anchor tags either -> anchor is inline, div & h2 are block elements********
- h2 elements shouldn't be placed within anchor tags either -> anchor is inline, div & h2 are block elements