发布网友 发布时间:2022-04-22 06:23
共4个回答
热心网友 时间:2022-04-21 01:32
建议你使用<a href=""></a>标签,不建议使用<tr>标签,在<a>标签中
target="_blank"使用方法就是<a href="" target="_blank" align="center" bgcolor="#D4D0C8" onMouseOver=this.style.backgroundColor='#ffcc33' onMouseOut=this.style.backgroundColor='#D4D0C8' onDblClick="location.href='new.asp?action=detail&in_id='+<%=rs("id")%>;" style="CURSOR: hand"></a>或者使用<button>按钮
热心网友 时间:2022-04-21 02:50
<table width="50px" border="1px" style="height: 50px;">
<tr align="center" bgcolor="#D4D0C8" onMouseOver="this.style.backgroundColor='#ffcc33'"
onMouseOut="this.style.backgroundColor='#D4D0C8'" style="CURSOR: hand">
<td><a href="new.asp" target="_blank">ads</a>
</td>
</tr>
</table>
这段代码刚刚测试可用
target="_blank" 需要有<a href=""></a>配合使用,所以要在表格里加入<a>标签
如果不想有文字就将ads换成 ,下划线用CSS去掉应该就是你要的效果了
热心网友 时间:2022-04-21 04:25
你这个 写 的 有 问题,,那 有 在 tr 里边 加连接的??
热心网友 时间:2022-04-21 06:16
<a href="" title="" target="_blank">新页面中打开</a>