Hello,
You could do something like this (adjust as needed):
<style type="text/css">
<!--
td.celllink a {
display: block;
text-decoration: none;
color: #000;
padding: 20px;
border: 1px solid #000;
}
td.celllink a:hover {
background-color: #0066FF;
}
-->
</style>
Then just give the <td> that the link is in a class named "celllink"
Take care,
Tim
"ArizonaJohn" <webforumsuser (AT) macromedia (DOT) com> wrote
Quote:
Hello,
I would like to make an entire table cell-- not just the text within the
cell-- a hyperlink. How is this done?
If it makes any difference, I am trying to do this within PHP. I have
attached the code for the table call that I would like to turn into a
hyperlink.
Thanks in advance,
John
print "<td>".'<a href="#" >'.$row['ballot']."</td>"; |