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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:28:37+00:00 2026-06-07T17:28:37+00:00

When I put a scrolling div (i.e. <div style=width:200;height:200;overflow-y:scroll;> ) inside of another div

  • 0

When I put a scrolling div (i.e. <div style="width:200;height:200;overflow-y:scroll;">) inside of another div that has an overflow attribute it treats the second div like I don’t have dimensions set (height 200 and width 200). The scroll bar on the right shows up but it wont work because every time I add content the div just drops instead of making it scroll.

First divs css:

#slide1_container 
{
        width:976px;
        height:520px;
        overflow:hidden;
        position:relative;
        margin:0 auto;
    }

Nested div:

overflow-y:scroll;
  • 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-07T17:28:38+00:00Added an answer on June 7, 2026 at 5:28 pm

    You’re missing the px on the dimensions in your div’s inline styles.

    <div style="width:200;height:200;overflow-y:scroll;">
    

    Should be

    <div style="width:200px;height:200px;overflow-y:scroll;">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

HTML <html> <body> <div style=width:100%; height: 300px; overflow: auto;> <table cellspacing=0 cellpadding=2 style=width:100%;> <thead>
I have a div with a height of 500px and a width of 200px.
Is it possible to put another scrollview inside a scrollview?? because in one page
I have the following code, but it doesn't put the scrolling div anywhere. All
I'm trying to put a UITextView inside a custom subclass of UIAlertView that I
I have an auto-scrolling thumbnail DIV that I want to insert into an accordion
I have an overflow div which is on a jquery modal dialog. <div style=overflow:
I put a TileGroup in a BorderContainer and set the width to 100%, but
I put together this quick carousel that I'm using to cycle through different divs
I have a page that has three divs one at the top, one at

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.