Hi,
is there any way to make clickable <td>
or <tr>
tags?
Regards
Javi
Hi,
is there any way to make clickable <td>
or <tr>
tags?
Regards
Javi
To turn non-link tags into links, use @Lie Ryan's answer and put an a
into the element.
To be able to link to an element:
Use an a
<a href="#idOfTheElement">Link to the element</a>
and a named point:
<td id="idOfTheElement">contents</td>
<td>
s can have a JavaScript onclick
event.
Other than that, putting an <a>
into the table cell, and giving it a fixed width to fill the table (you need to make it display: block
for that) is the most reliable way.
If I understood correctly what you mean:
<td id="yourcell">Just a useless cell</td>
...
<a href="yourpage.html#yourcell">link</a>