페이지를 아래로 스크롤 할 때와 관계없이 머리글 DIV와 바닥 글 DIV 이 항상으로 표시되고 싶습니다.CSS/HTML : CSS로 IFRAME을 시뮬레이트하는 방법은 무엇입니까?
어떻게 예를 들어
(IFRAMES없이)이 사용하는 경우에만 CSS를 달성 할 : 당신이 IE 6을 피할 수 있다면 당신은 position: fixed
을 사용할 수 있습니다
<div id=header>Always display on top, regardless if you have scrolled down the page</div>
<div id=main_content>...</div>
<div id=footer>Always display on the bottom</div>
머리글의 경우 'top : 0;'및 바닥 글의 경우 'bottom : 0;'과 함께 사용됩니다. –