藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 應用編程


    

藍森林 http://www.lslnet.com 2006年8月25日 8:28

表格對齊問題!望賜教

各位幫忙看看,最左邊的紅色表格我讓它左對齊,height為100%,可是旁邊的黃色、蘭色表格和左邊表格之間有條縫,我把右邊上面的黃色表格也是左對齊的話,下面的蘭色表格就無法放在黃色表格的下面的,我想按照現在的佈局,去掉那條縫,顏色之間天衣無縫!調來調去都不行,幫忙了!!


<table width="50"  height="100%" border="0" align="left" cellpadding="0" cellspacing="0" bgcolor="#FF0000">
  <tr>
    <td width="50" height="400"></td>
  </tr>
</table>
<table  width="250" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFF00">
  <tr>
    <td width="250" height="125"></td>
  </tr>
</table>
<table width="250" border="0" cellpadding="0" cellspacing="0" bgcolor="#0000FF">
  <tr>
    <td width="250" height="128"></td>
  </tr>
</table>

外面不套表格可以解決問題嗎?

表格對齊問題!

<table style="position:absolute;left:0px;top:0px" width="50" height="100%" border="0" align="left" cellpadding="0" cellspacing="0" bgcolor="#FF0000">
<tr>
<td width="50" height="400"></td>
</tr>
</table>
<table style="position:absolute;left:50px;top:0px" width="250" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFF00">
<tr>
<td width="250" height="125"></td>
</tr>
</table>
<table style="position:absolute;left:50px;top:125px" width="250" border="0" cellpadding="0" cellspacing="0" bgcolor="#0000FF">
<tr>
<td width="250" height="128"></td>
</tr>
</table>




Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com