我在IE8(& IE9)中尋找這樣的結構。
不想使用JavaScript,因爲某些第三方會動態插入內容,這應該只會導致不同的滾動條比例。IE8剩餘高度
我一直在尋找「充足」的時間,即相當多的時間。 我無法理解和/或使用以下線程。 StackOverflow: make-iframe-to-fit-100-of-containers-remaining-height
<!DOCTYPE html>
<html>
<body>
<p>Some text with unknown height, fixed at the top.</p>
<div>
Some content that will not exceed the body (100% height),
but will fill the body until the content is too long, which would give
a scrollbar.
</div>
</body>
</html>
我能夠在Chrome瀏覽器(PIC =整個瀏覽器的內容)來實現這一點,小提琴手在底部:
IE8/9給了我這個(PIC =整個瀏覽器內容,再滾動到身體的底部):
誰能幫助我?
除非因爲我回答的東西已經改變了[這個問題](http://stackoverflow.com/questions/10294543/overflow-with-absolute-relative-positioning-layout/10297421#10297421),我不沒想到在IE8中可能沒有一點JavaScript。 – thirtydot
這可能涉及如果頁面調整大小,可能會導致白色區域包裝,使調整大小處理程序..:/ – EricG
我不是建議作爲您的問題的答案。我的意思是,我記得試圖回答這個問題,嘗試在陽光下做的一切事情,在IE8中做出與你正試圖解決的問題相同的事情。 – thirtydot