无论何时向下滚动页面,我都希望在我的网页上显示标题DIV和页脚DIV 总是。CSS/HTML:如何用CSS模拟IFRAME?
如何做到这一点只用CSS(不含iframe)
例如:
<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;'表示页脚。 – 2010-04-02 04:07:46