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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:32:09+00:00 2026-05-22T23:32:09+00:00

The entire popup-div is visible, and when I scroll vertically, it follows. Only half

  • 0

The entire popup-div is visible, and when I scroll vertically, it follows.

enter image description here

Only half of the popup-div is visible, and when I scroll vertically it follows, but it’s impossible to view the second part of the popup-div. How can this be achieved?

enter image description here

css code:

  .popup
{
    position:fixed;
    z-index:9002;
    background-color:#FFFFFF;
    border:solid 1px #000000;
    top: 20%;
    left: 20%;
    overflow: auto;
}
.popupbackground
{
    background-color:#111;
    opacity:0.65;
    filter:alpha(opacity=65);
    position:fixed;
    z-index: 500;
    top:0px;
    left:0px;
    width: 100%;
     height: 100%;
}

I’m working with ASP.NET, if the code-behind is needed to answer this question I will provide it.

I have read about solutions such as setting the overflow parameter to auto or scroll, but haven’t gotten that to work.

Update follows below:

Now the popup is scrollable vertically as wanted, but only if the scrollbar is visible horizontally.
enter image description here

Here, it’s not possible to scroll vertically because the scrollbar is not visible, and scrolling horizontally in the browser just forces the popupdiv to follow along.

enter image description here

  • 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-22T23:32:10+00:00Added an answer on May 22, 2026 at 11:32 pm

    try this code (the content of the pupup is just for testing):

    <html>
    <head>
    <style>
    .popup
    {
        position:fixed;
        z-index:9002;
        background-color:#FFFFFF;
        border:solid 1px #000000;
        top:10%;
        left: 20%;
        overflow: auto;
        height:80%;
        width:40%;
    }
    
    .popupbackground
    {
        background-color:#111;
        opacity:0.65;
        filter:alpha(opacity=65);
        position:fixed;
        z-index: 0;
        top:0px;
        left:0px;
        width: 100%;
         height: 100%;
    }
    
    
    </style>
    </head>
    <body>
    <div class="popupbackground">
    </div>
    <div class="popup">
    a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />
    a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />
    a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />
    a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />
    a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />
    a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />
    a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />
    a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />
    a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />
    a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />a<br />
    </div>
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I copy an entire div to a popup window? What I`m trying
I have a modal popup that initially shows some content but expands a div
I've written an entire app pretty successfully in Django but I have this nagging
Can i pass the entire POST array into a function and handle it within
EDIT: The entire code and database creation script can be found from http://gitorious.org/scheator .
I have a popup div with a scrolling nested div. I want to be
I have a DOM element similar to Facebook's View friends popup. I have a
I'm trying to make an ExtJS modal window, but it looks like it only
My entire source code base is < 20MB. I want it all loaded in
Edit: Entire page (HTML) <!doctype html> <html> <head> <meta charset=utf-8 /> <title>jQuery Ajax Test</title>

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.