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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:34:26+00:00 2026-06-16T02:34:26+00:00

I have a webpage that has one <div> with overflow-y:scroll; and for some reason

  • 0

I have a webpage that has one <div> with overflow-y:scroll; and for some reason my webpage is showing a vertical scroll bar. When I scroll down the page it’s just blank, but it appears to be compensating for the div content because when I scroll to the bottom of the div, the webpage scroll bar disappears.

CSS:

#wrapper {width:1227px; height:400px; overflow-y:scroll;}

HTML:

<div id="wrapper">
<table>
<tr>
<td>
<script>
    // Create the datePicker
    datePickerController.createDatePicker({ 
    // Associate the three text inputs to their date parts                         
    formElements:{\"" . $emp_query['Emp_ID'] . "\":\"%Y-%m-%d\"},
    // Disable the fade effect
    noFadeEffect:true,
    // Show week numbers
    showWeeks:false,
    // Set a statusbar format
    statusFormat:\"%l, %d%S %F %Y\",
    //Highlight Certain days
    highlightDays:[0,0,0,0,0,1,1],
    });
    </script>
</td>
</tr>
<!-- Repeat the above cells many more times -->
</table>
</div>

I don’t know if it’s meant to do this, but I don’t want it to because it just leaves a bunch of blank page below it, is there something I can do?

EDIT: I figured out the problem is caused by a date picker javascript widget that I have within the table. Code updated and here is the link to the widget: DatePicker.
I tried to create a fiddle with all of this, but it kept freezing up and the script stopped running. Is this normal when there is a script running inside the <div> like this?

EDIT: To clarify, what I want is to have a <div> with the viewing area limited to 400px high and to get rid of the extra blank space below it. When I remove the Javascript datepicker widget, everything works as it should, but for some reason the Javascript is causing the webpage height accommodate the hidden content of the <div>.

  • 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-16T02:34:28+00:00Added an answer on June 16, 2026 at 2:34 am

    Alright, the problem has been solved…by the datepicker developer, Brian McAllister. In the CSS of the datepicker there is a class set for the :link and :visited, here is a snippet:

    .date-picker-control:link,.date-picker-control:visited {
    display:-moz-inline-stack;
    }
    

    When the display is changed to:

    .date-picker-control:link,.date-picker-control:visited {
    display:-moz-inline-box;
    }
    

    The problem goes away. Thanks Brian!

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

Sidebar

Related Questions

I have a webpage that has a Telerik RadComboBox on the page. One of
I have one webpage (lets call it A.html). A.html has some javascript which switches
My webpage i am currently working on only has one main content div that
I have an ASP.NET Site that has a single Master Page. On one of
I have a webpage that has 3 file inputs. There are specific fields on
I will create a webpage that has a sidebar, and the sidebar will have
I have a webpage built with a dropdown that has a list of books.
I have a Google Map on the webpage with markers on it that has
I have created a web page that has two bars across the top of
I have a simple jQuery code that runs on a web page that has

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.