请问怎么在一个空白单元格中做链接呢? 用空格可以做<a href="url" > </a> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 恩,空格可以做,但是空格也只占字符大小的位置,用户可能要在你表格里多次移动鼠标才能找到链接。其实也可以用层,display:block一下,甚至或者给个白图片,都可以,方法很多 谢谢楼上回复,你上面的代码做出来的是只能点了那个 后才有链接,我想的是在这个空白单元格中所有空间中都是链接. <table width="300" border="1"> <tr> <td width="100" height="100" onclick="window.location.href='http://community.csdn.net/Expert/topic/5777/5777518.xml?temp=.9194605'" style="cursor: hand;">self</td> <td width="100" height="100" onclick="window.open('http://community.csdn.net/Expert/topic/5777/5777518.xml?temp=.9194605');" style="cursor: hand;">newwindow</td> <td width="100" height="100" onclick="frm.location.href='http://community.csdn.net/Expert/topic/5777/5777518.xml?temp=.9194605';" style="cursor: hand;">other</td> </tr></table><iframe id="frm" name="frm" width="400" height="300"></iframe> <a style="display:block;width:100%;height:100%" href="xxxxxxxxxx"></a> 这样也可以,<a href="aaaaa.jsp"><tr style="cursor:pointer"><td> </td><tr></a> ajax传输数据的方式 PHP的Bug还是我使用错误?$s=htmlentities("»");不能使用$s=html_entity_decode($s);还原? php声明一个值为1-10的的数组,怎么弄?简单点的? PHP 表单计算 高分求教PHP5用ISAPI模式运行的路径问题 Discuz在搜索时把关键词放入数据库的意义何在 我错了,再也不犯了,马上跳槽! socket的怪问题 包含文件问题 PHP中发邮件问题 js 不能取值,请求帮助 大家来看看这个效果,你们见过没,有没有拿过来就可以用的?
<tr>
<td width="100" height="100" onclick="window.location.href='http://community.csdn.net/Expert/topic/5777/5777518.xml?temp=.9194605'" style="cursor: hand;">self</td>
<td width="100" height="100" onclick="window.open('http://community.csdn.net/Expert/topic/5777/5777518.xml?temp=.9194605');" style="cursor: hand;">newwindow</td>
<td width="100" height="100" onclick="frm.location.href='http://community.csdn.net/Expert/topic/5777/5777518.xml?temp=.9194605';" style="cursor: hand;">other</td>
</tr>
</table>
<iframe id="frm" name="frm" width="400" height="300"></iframe>