我有一個iframe,我想填充底部,右側,左側和頂部CSS樣式指定的頁面上的所有區域。然而,當我這樣做的方法,我預期的那樣工作,這不:如何使iframe填充由距邊緣的距離定義的區域?
HTML:
<iframe id="example_frame" src="http://example.com"></iframe>
CSS:
#example_frame {
position: absolute;
top: 1em;
left: 1em;
right: 1em;
bottom: 1em;
}
這將導致一個小盒子與網頁約100×100像素
我忘了在例子 – 2009-07-23 20:38:38