CSS/HTML: How to simulate IFRAME with CSS?

Posted by BBnight on Stack Overflow See other posts from Stack Overflow or by BBnight
Published on 2010-04-02T04:02:25Z Indexed on 2010/04/02 4:03 UTC
Read the original article Hit count: 936

Filed under:
|
|

I want to have a header DIV and a footer DIV always displayed on my web page, regardless of when you scroll down the page.

How do I accomplish this using only CSS (without IFRAMES)

For example:

<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>

© Stack Overflow or respective owner

Related posts about css

Related posts about html