T
tony wong
i wish to design a table, then the hyperlink(MouseOn) can be effected in the
whole cell, not just the text only. But i just can make it effect in the
1st Cell, fail in the 2nd one. What's wrong with the code? thanks.
****************************************
<html>
<head>
<style type="text/css">
a {display:block;}
a:hover {background:black;}
</style></head>
<body>
<table width=100%>
<tr>
<td width=50%><a href="http://www.xyz.com">News</td>
<td width=50%><a href="http://www.abc.com">TV</td>
</tr></table></body></html>
whole cell, not just the text only. But i just can make it effect in the
1st Cell, fail in the 2nd one. What's wrong with the code? thanks.
****************************************
<html>
<head>
<style type="text/css">
a {display:block;}
a:hover {background:black;}
</style></head>
<body>
<table width=100%>
<tr>
<td width=50%><a href="http://www.xyz.com">News</td>
<td width=50%><a href="http://www.abc.com">TV</td>
</tr></table></body></html>