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

使内容居于区域最下方
在这个网页http://www.topcartech.com/contact.asp里,我想在左侧表格的下方(也就是“联系我们”所在的灰色那边的底部)显示一个返回顶部的图片,我应该怎样做呢,右侧的高度是不固定的。怎样才能令它刚好在灰色条的底部?实在试不出来,请大家帮个忙。


------解决方案--------------------
这部分改一下即可
<table width= "762 " height= "413 " border= "0 " align= "center " cellpadding= "0 " cellspacing= "0 " bgcolor= "#FFFFFF " class= "tablelinenotop ">
<tr id= "t1 ">
<td width= "170 " valign= "top " bgcolor= "f5f5f5 " height= "413 " align= "center ">
<table width= "100% " height= "47 " border= "0 " cellpadding= "0 " cellspacing= "0 ">
<tr id= "t2 ">
<td> <img src= "image/contact/title.jpg " width= "170 " height= "50 "> </td>
</tr>
</table>
<table width= "100% " border= "0 " cellpadding= "0 " cellspacing= "0 ">
<tr style= "height:expression(document.all.t1.clientHeight - document.all.t2.clientHeight); ">
<td valign= "bottom " align= "center "> <img src= " " /> </td>
</tr>
</table>
</td>
<td width= "1 " bgcolor= "#cccccc "> </td>
....
------解决方案--------------------
左边单元格分成两行,上面行顶部对齐,下面行底部对齐,返回顶部的图片就放下面行OK