Since I got TLDR (too long didn't read) comments, I stripped 90% of this away, including everything I have tried.
The layout is very, very simple.
-----------------------------------------------------------------
| |
| This menu area is fixed and does not scroll up off the page |
| - NO SCROLL BARS - |
|---------------------------------------------------------------|
| |
| | ------------------------------------------------------| |
| | | |
| | | |
| | This area, with padding on the left and right, | |
| | has a scroll bar on its right side (not all | |
| | the way to the right side of the page), and is | |
| | attached to the bottom of the browser window - | |
| | when the bottom of the browser is resized up, | |
| | this windows shrinks, and scroll bars DO NOT | |
| | appear on the far right side of the page. | |
| | ------------------------------------------------------| |
|---------------------------------------------------------------|
The code that implements the above with frames works in IE7, IE8 and Firefox 3.6, with no browser dependent code. The frames code pulls in two .html pages to fill the two "windows" above. Simple. Terrible for Google.
Here is an example of CSS code that doesn't work. I would have 100+ such examples if I had saved all of them. I'm running the Apache server locally to pull in the SSI's.
<html>
<body>
<div style="float: top; position: fixed; width: 95%; height: 140; border-style: solid">
<!-- SSI code deleted - includes code from another page -->
</div>
<div style="overflow: auto; top: 100; width: 900; height: 500; background-color:white;
color:black; text-decoration:none">
<!-- SSI code deleted - includes code from another page -->
</div>
</body>
</html>
- What this code does in Firefox: The bottom scrolling window is at the top of the page (no margin). (Very wrong.) When the bottom of the browser window is moved up (making the browser window smaller) a scroll bar appears on the right side of the page. (Wrong.)
- What this code does in IE 8: The bottom scrolling window sits properly below the top menu window, but there is a scroll bar for the whole screen on the right side, and you have to use both scroll bars to get to the bottom of the text. (This is the only example I tried in IE 8, as I've spent all my time trying to get it to work in Firefox.)
I have tried too many online ideas to mention, and I've stripped what things I did try because of the TLDR comments.
I should mention that the two included HTML files use div
s everywhere, for practically every line of text, with some position:absolute
declarations. (I didn't write that...) The second HTML file also uses a table. If you want to see the included code I will provide you with the URL to it, but I don't want it posted.