hwg-basics archives | Jul 2002 | new search | results | previous | next |
by "Diane" <diane(at)tein.net> |
|
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