How can I link and entire td in a table? I can only seem to get it to
work if I set an explicit height, which in this case, I do not know
ahead of time:
<table>
<tr>
<td><a href='index.html'>click me</a></td>
<td><img src='foo.jpg'></td>
<td><a href='index.html'>click me</a></td>
</tr>
</table>
So the image comes in, it is 300px wide, but the height is variable,
and I have no idea what it is ahead of time, being fed in by a dynamic
script.
I have applied this css to it:
table.navbar {
border-collapse: collapse;
}
table.navbar td {
border: 1px solid #ccc;
}
table.navbar td a {
display: block;
padding: 3px;
text-decoration: none;
}
It works, as long as I set a height in to the block section, but as I
said, I do not know that value.
--
Scott
[EMAIL PROTECTED]
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/