How to make table cells into hyperlinks
P粉129731808
2023-08-23 23:28:05
<p>How to set an entire table cell as a hyperlink without using JavaScript or jQuery? </p>
<p>I tried putting the href in the td tag itself, but that didn't work, at least in Chrome 18. </p>
<pre class="brush:php;toolbar:false;"><td href='http://www.m-w.com/dictionary/' style="cursor:pointer"></pre> </p>
Try this way:
Try this:
HTML:
CSS:
Hope it works properly.