lfrohman
asked on
anchor <a> for entire <td> column
How can I get an anchor <a href="..."> inside a table cell <td> to
apply to the entire cell? The css width works for I.E., but not for
Netscape. In the code below, the red is an active link. In I.E.
it applies to the entire width of the cell. But in Netscape, it
applies only to the text "aaa".
<html>
<body>
<table>
<tr><td>aaaaaaaaaaaaaaaaaa aaaaaaaaaa aaaa</td>< /tr>
<tr><td><a href="http://www.mypage.com" style="{width:100%; background-color:red}">aaa </a></td>< /tr>
</table>
</body>
</html>
apply to the entire cell? The css width works for I.E., but not for
Netscape. In the code below, the red is an active link. In I.E.
it applies to the entire width of the cell. But in Netscape, it
applies only to the text "aaa".
<html>
<body>
<table>
<tr><td>aaaaaaaaaaaaaaaaaa
<tr><td><a href="http://www.mypage.com" style="{width:100%; background-color:red}">aaa
</table>
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<td onclick='location.href="http://www.mypage.com";