我需要以隱藏其標頭的方式加載帶有iframe的頁面。我嘗試以下,但由於某種原因,它不工作:定位iframe
<div style="width:945px; height:600px; overflow:hidden;">
<iframe src="innerpage.html"
frameborder="0"
height="700"
scrolling="no"
width="945"
style="top:-100px" />
</div>
該樣式將應用於iframe,而不是iframe的內容。 – 2009-10-06 15:49:26
除非我誤以爲他想要實際定位* iframe,而不是內容。 – 2009-10-06 15:50:01