Re: [問題] 表格延展問題

看板Web_Design作者 (艾瑞克)時間17年前 (2008/05/09 19:04), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
如果沒有背景需求的話 就這樣做吧 <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td colspan="2">&nbsp;</td> </tr> <tr> <td width="19%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#666666"> <tr> <td height="60">&nbsp;</td> </tr> <tr> <td height="60">&nbsp;</td> </tr> <tr> <td>&nbsp;</td> </tr> </table></td> <td width="81%">&nbsp;</td> </tr> <tr> <td colspan="2">&nbsp;</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)
文章代碼(AID): #1892-uMn (Web_Design)
討論串 (同標題文章)
文章代碼(AID): #1892-uMn (Web_Design)