作者arrack (艾瑞克)
看板Web_Design
标题Re: [问题] 表格延展问题
时间Fri May 9 19:04:21 2008
如果没有背景需求的话
就这样做吧
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td width="19%" valign="top"><table width="100%" border="0"
cellpadding="0" cellspacing="0" bgcolor="#666666">
<tr>
<td height="60"> </td>
</tr>
<tr>
<td height="60"> </td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
<td width="81%"> </td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
</table>
※ 引述《SyaoranX (小狼)》之铭言:
: 我的网页大概长这个样子(用表格做的)
: ┌───────────────────┐
: │ Banner │
: │ │
: ╞────┬──────────────╡
: │ │ │
: │ menu │ │
: │ │ │
: ├────┤ main │
: │oth1 │ │
: ├────┤ │
: │ oth2 │ │
: ├────┴──────────────┤
: │ copyright │
: └───────────────────┘
: 我在css设定menu、oth1的height都是固定的px,oth2是100%
: 不过这样当我的main过长的时候,被拉大的还是menu,而不是oth2
: 我希望只有oth2被拉长…请问有什麽办法做到吗@@?
: 希望我的表达大家看的懂@@"
: 感谢
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.126.63.16
※ 编辑: arrack 来自: 59.126.63.16 (05/09 19:07)