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

  • SEARCH
  • Home
  • 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 8207341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T08:57:56+00:00 2026-06-07T08:57:56+00:00

I have a question for the front-end web development experts out there which is

  • 0

I have a question for the front-end web development experts out there which is stumping me.

On my page, I have a sidebar which is fixed on the right side of the page, and then a large block of content (fixed-width) that takes up more than the width of the browser window. The problem is, the content on the far right side of the div can’t be seen because it’s behind the fixed sidebar.

Here is a super stripped down example of my issue in jsFiddle.

EDIT: Here is a more complete example of my issue.

I thought that simply applying padding-right: “width of sidebar”px to either the body or to a wrapper div, or applying margin-right: “width of sidebar”px to the content div should fix the issue, but neither works. I don’t want to resort to putting in a filler div unless there is no way to accomplish this effect with CSS.

I did a search for the issue on google and so, but all I found were questions about how to remove whitespace from the right side, which is the opposite of what I want to do.

Thanks to anyone who can solve this stumper!

EDIT: After seeing a multiple questions about why I can’t simply set things up differently, I thought I’d clarify by showing a more in-depth example of what I’m trying to accomplish. You can see that here. The columns in the table must be fixed-width, and I want to be able to see the full contents of the last column. Hope that helps clarify things!

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

    I made the wrapper position absolute with a left 0 and right of 110px, which you also can put on the content div instead of the wrapper. Just to give you a hint… See http://jsfiddle.net/aHKU5/98/

    #wrapper {
        position: absolute;
        left: 0px; right:110px;
        border: 1px solid red;
    }
    

    Edit
    I also create a version with a max-width that makes sure the content will never exceed 900px, but if there is less room it will respect the sidebar as well… http://jsfiddle.net/aHKU5/102/

    #wrapper {
        position: absolute;
        left: 0px;
        max-width: 900px;
        margin-right: 110px;
        border: 1px solid red;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is more of a best practices question. I'm doing some front-end web development
I'm extremely new to front end web development, and I was wondering if there
I have a design/best practice question relating to MVC3. I have a front page
We have a web service which serves small, arbitrary segments of a fixed inventory
I am trying to get into web development, specially interested building the front-end, UI
I have a .NET application with a web front-end, WCF Windows service back-end. The
I have an application that consists of three parts: a front-end web shop for
I have question about XSLT1.0. The task is to write out in HTML all
I have Question and QuestionTypes. In Question table there is a foreign key that
I am working on a front-end web app where a nested unordered list would

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.