|
藍森林 http://www.lslnet.com 2006年8月25日 8:28
能讓一個表格始終位於一個頁面的最底端嗎
如題!!!!
如果該頁所剩空間不足以放下該表格,則表格會自動跳到新頁面的最底端,否則就在當前頁面的最底端!!!!
請大家幫幫忙! |

[code]<body background="圖片地址" style="background-position:right bottom;background-repeat:no-repeat;background-attachment:fixed">[/code] |
[html]
<div style="position: absolute; width: 100px; height: 100px;top:expression(parseInt(document.body.offsetHeight+document.body.scrollTop)-120);z-index: 1; background-color:#FF0000" id="layer1"> </div>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
[/html] |
其實作一個height=100%的表格,裡面再插入一個靠攏底端的表格就行了,下午想到的 |
height=100%
好像在IE6里有點問題 |
|