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 9131695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:10:56+00:00 2026-06-17T08:10:56+00:00

Our website’s master page has a narrow column on the left with some menu

  • 0

Our website’s master page has a narrow column on the left with some menu options, and the page content taking up the rest of the space on the right.

I’m trying to determine the best way to allow page content to scroll independently from the left column.

I know I could create a scrollable div for the main content, but I would have to keep the height exactly the same as the browser window height to prevent the browser’s main scrollbar from appearing. If I resized it with JavaScript, I believe there would be a delay as the window is resized, which would look a little cheesy.

Can anyone thing of a better way to structure the page to keep the left column stationary as the main page scrolls? (Note: It may be necessary to scroll the left column as well if it gets too tall.)

Page Layout http://www.softcircuits.com/Client/Layout.png

The image above shows the desired layout. I want the main content to scroll independently from the sidebar or header. But if I just make it a scrollable <div>, I can get two scrollbars right next to each other (one for the scrollable <div> and another for the main browser window).

  • 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-06-17T08:10:57+00:00Added an answer on June 17, 2026 at 8:10 am

    You could position the left column fixed, so that it stays fixed to the window, while the rest of the page scrolls. For example,

    .left-column {
      position: fixed;
    }
    

    Demo: http://jsfiddle.net/Yv3qX/

    It’s also possible to have it scroll independently itself, by positioning it from the bottom:

    .left-column {
      position: fixed;
      top: 0;
      bottom: 0;
      overflow: scroll;
    }
    

    Demo: http://jsfiddle.net/Yv3qX/1/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our website has some very complicated styling and we want to ensure that the
Our website has a configuration page such as config.aspx, when the page initializing will
Our website has one section which often changes to match the user. (examples are
Our website has been using IIS6 for a long time. We test on IE8,
On our website using Joomla we have duplicate URLs for the same page being
Our website has about 200K images stored in sitecore database now. It runs more
Our website is an AJAX website that makes no page requests after the initial
Our website has an HTML issue when we use CTRL + + to enlarge
In our website, some Mac users have troubles when they copy-paste text from PDF
On our website, we have some project edit pages. When the user clicks save,

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.