|
蓝森林 http://www.lslnet.com 2006年8月25日 8:28
表格嵌套:两个能并排,三个不能
请教大虾们:DW里做表格嵌套的时候,两个能并排,三个怎么不能呢,那第三个换到另一行去了,代码是这样的,我不知道问题在哪,大家帮我改一下:
<table>
<tr>
<td>
<table align=left width="200" border="0" cellspacing="1" cellpadding="0">
<tr>
<td height="100"><img src="file:///D|/site/未命名-5.gif" width="187" height="70"><td>
</tr>
</table>
<table width="100" border="0" cellspacing="1" cellpadding="0">
<tr>
<td width=200 height="100"> </td>
</tr>
</table>
<table width="100" border="0" cellspacing="1" cellpadding="0">
<tr>
<td width=200 height="100"> </td>
</tr>
</table>
</td>
</tr>
</table> |
[html]
<table width="498">
<tr>
<td width="490" height="102">
<table width="100" height="100" border="0" align="left" cellpadding="0" cellspacing="1">
<tr>
<td> </td>
</tr>
</table>
<table width="100" height="100" border="0" align="left" cellpadding="0" cellspacing="1">
<tr>
<td> </td>
</tr>
</table>
<table width="100" height="100" border="0" align="left" cellpadding="0" cellspacing="1">
<tr>
<td> </td>
</tr>
</table>
<table width="100" height="100" border="0" align="left" cellpadding="0" cellspacing="1">
<tr>
<td> </td>
</tr>
</table>
<table width="100" height="100" border="0" align="left" cellpadding="0" cellspacing="1">
<tr>
<td> </td>
</tr>
</table>
<table width="100" height="100" border="0" align="left" cellpadding="0" cellspacing="1">
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
[/html] |
[html]
<table>
<tr>
<td>
<table align=left width="200" border="2" cellspacing="1" cellpadding="0">
<tr>
<td height="100"><center><img src=""><td>
</tr>
</table>
<table width="100" border="1" cellspacing="1" cellpadding="0" align=left>
<tr>
<td width=200 height="100"> </td>
</tr>
</table>
<table width="100" border="1" cellspacing="1" cellpadding="0">
<tr>
<td width=200 height="100"> </td>
</tr>
</table>
</td>
</tr>
</table>
[/html] |
|