0
我正在嘗試創建一個頁腳類型的塊,它將位於塊的底部,但在調整大小時會與塊頂部的元素髮生碰撞。CSS位置底部保持流動
有一張桌子,這將是很容易:
<table style="height: 100%;" border="1">
<!-- border so you can see how it resizes -->
<tr id="TOP" style="height: 3em;"><td>TOP</td></tr>
<tr id="GAP"><td>GAP</td></tr>
<!-- content only so you can see what's going on;
I want this to render as empty space -->
<tr id="BOTTOM" style="height: 3em;"><td>BOTTOM</td></tr>
</table>
,但我想這樣做沒有用表。