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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:14:25+00:00 2026-05-25T18:14:25+00:00

This is what I have, I have left div, and a right div. The

  • 0

This is what I have, I have left div, and a right div. The left div is a fixed width, and floated left. The right Div is a “display: block” to make it full width, and has a margin on the left to compensate for the left div. Both of the boxes have a fixed height, and need to be scrollable (the contents inside). I add an overflow-y to the Left div successfully. However when I add overflow-y: auto to the right div, the div no longer spans the whole div.

Before adding Overflow:
http://jsbin.com/asecuy/

After adding Overflow:
http://jsbin.com/asecuy/2

  • 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-25T18:14:26+00:00Added an answer on May 25, 2026 at 6:14 pm

    You need to unset

    .eventdetails {
        margin-left: 252px;
    }
    

    This margin is causing the bug. I’m guessing it just doesn’t play nice together with overflow-y and the float next to it (should work though I think).

    Here it is working:

    http://jsbin.com/asecuy/3/#html

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

Sidebar

Related Questions

I have <div> block, that have some fixed width. Sidebars stretch until their width
I have a container DIV with a fixed height and width (275x1000px). In this
I have a simple 2 colum layout (left col fixed width 200px, and right
In my fixed-width website, I have a layout similar to this: <div id=wrapper> <header>...</header>
I have two div's which classes are left and right. left is floated to
Suppose I have an div. Inside this div, I have two divs floating left,
I have code like this to move the player in my game left, right,
I have a html like this: The idea is that divs are floated left
I have a div that contains a paragraph, a list and a right-floated div.
I have a span, which is inside a div of fixed width. The span

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.