div.header {position: fixed; top: 0; bottom: 80%; left: 20%; right: 0; background: grey; margin-bottom: 2px; color: yellow;}
div.sidebar {position: fixed; top: 0; bottom: 0; left: 0; right: 80%; background: silver; margin-right: 2px; color: maroon;}
div.main {position: fixed; top: 20%; bottom: 0; left: 20%; right: 0; overflow: auto; background: white; color: black;}
Of course this doesn't work in IE6-.
Places to look to emulate:
- Use absolute positioning in IE, but fixed positioning in more advanced browsers. This will not work for all layouts.
- Javascript fix 1 - http://www.doxdesk.com/software/js/fixed.html
- Javascript fix 2 - http://www.quirksmode.org
- Emulate fixed positioning in IE/Win without Javascript - http://css-discuss.incutio.com/?page=EmulatingFixedPositioning
When in the course of human events, it becomes necessary to keep typing something that might just mean something, well then things get messed up. AAA will sometimes call to the rescue, if you call them soon enough. Hopefully we have enough text to show the smiley in the background.
When in the course of human events, it becomes necessary to keep typing something that might just mean something, well then things get messed up. AAA will sometimes call to the rescue, if you call them soon enough. Hopefully we have enough text to show the smiley in the background.
When in the course of human events, it becomes necessary to keep typing something that might just mean something, well then things get messed up. AAA will sometimes call to the rescue, if you call them soon enough. Hopefully we have enough text to show the smiley in the background.
When in the course of human events, it becomes necessary to keep typing something that might just mean something, well then things get messed up. AAA will sometimes call to the rescue, if you call them soon enough. Hopefully we have enough text to show the smiley in the background.
When in the course of human events, it becomes necessary to keep typing something that might just mean something, well then things get messed up. AAA will sometimes call to the rescue, if you call them soon enough. Hopefully we have enough text to show the smiley in the background.
When in the course of human events, it becomes necessary to keep typing something that might just mean something, well then things get messed up. AAA will sometimes call to the rescue, if you call them soon enough. Hopefully we have enough text to show the smiley in the background.
When in the course of human events, it becomes necessary to keep typing something that might just mean something, well then things get messed up. AAA will sometimes call to the rescue, if you call them soon enough. Hopefully we have enough text to show the smiley in the background.
the bottom