请问怎么在一个空白单元格中做链接呢? 用空格可以做<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> php传参的问题 php+xml(修改xml的内容) php 能不能调用xmlhttp组件 php操作sqlserver数据库问题 4G内存的服务器是不是一定要装64位的系统? 请帮我看看http watch抓出来的登陆过程,怎么看不到username=?password=? phpMyAdmin访问数据库乱码 关于sql的问题 有哪位高手能给我一个php简单聊天室的代码? 生成EXCEL文件的几个问题 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>