html - Make the whole div clickable instead of the links inside of it -
So I'm creating some grids to show the products and instead of the hyperlink, I would like to make the whole tag tag clickable Inside.
What would be the best and easiest way to do this? I have found some complex solutions that I am not using because I have many plans, I want to be clickable.
Any suggestions are very welcome!
You can make the whole divisible clickable rather than just content in it. Just keep in such a way:
& lt; A href = "http://www.google.com" & gt; & Lt; Div id = "mydiv" & gt; Blah blah & lt; / Div & gt; & Lt; / A & gt;
That's it. Here is JS Friedal:
Comments
Post a Comment