日期:2014-05-17  浏览次数:20646 次

HTML中单元格套表格的写法(自己看的)

这是写给我自己留底的,所以。。不想多说:

<tr>
??? <td><table width="100%" border="0" cellspacing="1" bgcolor="#c1d1c1">
??????? <tr>
????????? <td bgcolor="#f8f8f8"><table width="100%" border="0" cellspacing="0">
????????????? <tr>
??????????????? <td class="l"><div align="right"><a href="index.jsp"><img src="img/back1.jpg" width="69" height="20" border="0" onMouseOut="this.src='img/back1.jpg'" onMouseOver="this.src='img/back2.jpg'"></a>
??????????????? <% if("y".equals(pass)){%><a href="drop.jsp?id=<%=id%>"><img src="img/del1.jpg" width="76" height="21" border="0" onMouseOver="this.src='img/del2.jpg'" onMouseOut="this.src='img/del1.jpg'"></a>
??????????????? <% }else{%>
??????????????? <a href="send.jsp"><img src="img/send1.jpg" width="77" height="21" border="0" onMouseOut="this.src='img/send1.jpg'" onMouseOver="this.src='img/send2.jpg'"></a> <a href="login.jsp?id=<%=id%>"><img src="img/admin1.jpg" width="77" height="21" border="0" onMouseOut="this.src='img/admin1.jpg'" onMouseOver="this.src='img/admin2.jpg'"></a>
??????????????? <% }%>&nbsp;&nbsp;</div></td>
????????????? </tr>
????????? </table></td>
??????? </tr>
??? </table></td>
</tr>

?