Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 765151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:50:36+00:00 2026-05-14T16:50:36+00:00

I’m struggling to find a way to code a site according to our strange

  • 0

I’m struggling to find a way to code a site according to our strange requirements. The site should be displayed correctly in all browsers from IE6 to Opera.

The website is structured in three parts. It contains a header at the top, a navigation on the left an the rest of the screen should be filled with the content section. The following picture should help you better understand my description.

layout of the website http://www.4freeimagehost.com/uploads/820aee2ded8b.png

Here comes the kicker: Each of the three sections should be scrollable separately and no browser scrollbar should appear. The page should be displayed similar as if it would use frames. Of course, on a big enough screen, no scroll bars should appear.

It doesn’t matter which way is used to display the site, although frames aren’t an option an divs would be preferred.
There are two conditions:

  • The site should always fill the whole browser screen. The header and the content section should reach to the right border of the page, and the navigation as well as the content to the bottom.

  • As soon as the site is scaled down — whether due to resizing the browser window or due to a smaller resolution — a scrollbar for every single section should appear, but no “browser scrollbar” for the whole page. The header should always retain it’s height and the navigation always it’s width.

Do you know a way how all this can be achieved?

Yours
Bernhard

edit 1: Oh, and I forgot: The site should be passable viewable in 1024×768.
edit 2: Another thing: The header has got a fixed height and the navigation a fixed width. The height of the navigation as well as the height and width of the content should fill the entire screen.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T16:50:36+00:00Added an answer on May 14, 2026 at 4:50 pm

    UPDATED:

    i have found this article

    • http://www.alistapart.com/articles/conflictingabsolutepositions/

    just CSS & HTML i think is what you are looking for!

    FINAL DEMO: http://jsbin.com/icemo3/24

    In responce to your last comment, i have worked out this solution that require also a bit of jquery (javascript) please see the demo and use the demo code!

    $(window).load(function() {
    getWindowProportion()
    });
    
    $(window).resize(function() {
    getWindowProportion()
    });
    
    function getWindowProportion() {
     $('#wrapper').attr('style', 'width:' + $(window).width() + 'px');
        $('#header').attr('style', 'height:200px;width:' + $(window).width() + 'px');
        $('#navigation').attr('style', 'height:' + ($(window).height() - 200) + 'px;top:200px;width:300px');
        $('#content').attr('style', 'width:' + ($(window).width() - 300) + 'px;top:200px;height:' + ($(window).height() - 200) + 'px;left:' + ($('#navigation').width()) + 'px');
    };
    

    CSS DEMO 2: http://jsbin.com/icemo3/2

    CSS DEMO 3: http://jsbin.com/icemo3/3

    * { margin:0; padding:0 }
    html, body { margin:0; padding:0;  position:relative; overflow:auto; width:100%;  height:100%; }
    #content { float:left; width:  80%; background: cyan; height:80%;  top:20%; left:20% }
    #navigation { float:left; width:  20%; background: green; height:80%;  top:20% }
    #header {  width:  100%; background: red; height:20%; }
    .scrollme { margin:0; padding:0; overflow: auto;  position:absolute; }
    p { margin:10px }
    
    <div id="header" class="scrollme"><p>some text here</p></div>
    <div id="navigation" class="scrollme"><p>some text here</p></div>
    <div id="content" class="scrollme"><p>some text here</p></div>
    

    NOTE:

    tested on: 
    IE6+
    Chrome
    Firefox
    Opera
    
    1. each section have its own scroll-bar!
    2. each section have 100% width and height!
    3. no browser window scroll-bar appear!
    4. each section always retain its proportion
    5. work on all screen resolution
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I'm outputting a post title and in our database, it's Hello Y&#8217;all
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to find ID3V2 tags from MP3 file using jid3lib in Java.
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
We are using XSLT to translate a RIXML file to XML. Our RIXML contains

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.