|
by "Diane" <diane(at)tein.net>
|
| Date: |
Sun, 7 Jul 2002 15:18:46 -0600 |
| To: |
"HTML Guild" <hwg-basics(at)hwg.org> |
| |
todo: View
Thread,
Original
|
|
I have a general question. I am trying to absolute position a page so that
the sidebar frame and the header remain stationary at all times and that the
main part of the page would scroll. I have created three DIV elements.
DIV#header {position: fixed; top: 0; bottom: 80%; left: 20%; right: 0;
background: gray; margin-bottom: 2px; color: yellow;
}
DIV#sidebar {position: absolute; top: 20%; bottom: 0; left: 0; right: 80%;
background: silver; margin-right: 2px; color: maroon;
}
DIV# main {postion: absolute; top: 200%; bottom: 0; left: 20%; right: 0;
overflow: scroll; background: white; color: black;
}
I am sort of confused as to where to go next. Is there an example of
something like this anywhere that I could study to get a clue as to make
this work?
diane
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.