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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:34:52+00:00 2026-05-26T21:34:52+00:00

I have a simple accordion setup, with just two sections. The top, first section

  • 0

I have a simple accordion setup, with just two sections. The top, first section collapsed by default with the bottom second one, expanded by default.

I’ve ran into a problem, the top first section, when expanded has a style set somewhere that’s creating a height of ‘3791.8px;‘ creating this huge vertical white space (my content is only 1000px). I’m not sure where it’s coming from as I’ve searched the default css that was attached to the script and found nothing related.
(http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css” rel=”stylesheet” type=”text/css”/)

I’ve tried defining the height in that specific div, the accordion div, inline, externally – toggling overflow, and every other which way to try to close this white space/override that style from where it’s coming from.

What can I do?

This is pretty much all I have implemented (just with my text content);

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>

  <script>
  $(document).ready(function() {
    $( "#accordion" ).accordion({ active: 1 });

  });

  </script>

<div id="accordion">

<h3><a href="#">Section 1</a></h3>

 <p> Text content </p>

<h3><a href="#">Section 2</a></h3>

<p> Text content </p>

</div>

Link of problem: http://tinyurl.com/7xn33hb

  • 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-26T21:34:53+00:00Added an answer on May 26, 2026 at 9:34 pm

    Try setting autoHeight: false

    $(document).ready(function() {
        $( "#accordion" ).accordion({ 
            active: 1,
            autoHeight: false
         });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple accordion type page containing a list of H3 headers and
I have simple issue setting a two-way databinding of a checkbox in Silverlight 3.0.
Hi i have a simple accordion set up with jQuery with the HTML structure
I have a very simple accordion in my webpage that I initialise with :
I have a reasonably simple page setup with four accordian panes and four gridviews
I have made a simple accordion for my site using jQuery... It worked great,
I have a simple menu on a web page, based on the jQuery Accordion.
I have a simple accordion menu I've put together today using the jQuery slideDown()
I have a main datagrid, then an accordion control below it. In one of
I have simple regex \.*\ for me its says select everything between and ,

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.