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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:19:17+00:00 2026-05-30T00:19:17+00:00

Please see this This Image for a picture of the problem. I have a

  • 0

Please see this This Image for a picture of the problem.

I have a div that displays a list under a text field. It is a fake Combo-box, using a text element and JavaScript. The list that appears when someone types should cover the other form elements, but should also make the wrapper div bigger so it doesn’t get cut off. I have only been able to do one or the other.

Here’s The relevant HTML

<td id="EditorMainColumn">
   <div id="EditorPanesWrapper">
      <div style="display: block;"><!-- a Jquery Tools Tab, also the problem div -->
           <div class="EditorFormFieldWrapper">
              <label>My Field</label>
              <input class="EditorInput" name="name">
           </div>
           <br class="ClearBoth"><!-- I don't know if this helps or not -->
           <div class="ComboBoxListWrapper">
              <div class="ComboBoxList">
                  <!-- <a> elements are inserted dynamically here --> 
                 <br class="ClearBoth"><!-- I don't know if this helps or not -->
              </div>
           </div>
           <div><!-- Cover me! -->
              You can't see this when the combo box is open...
           </div>
      </div><!-- END display:block div -->
   </div><!-- END EditorPanesWrapper -->
</td>

CSS:

#EditorMainColumn {
   overflow:hidden!important;
   background:#f9f9f4;
   border-top:1px solid black;
   padding:20px;
   color:#432c01;
}

#EditorPanesWrapper {
   width:auto;
   margin-right:20px;
   overflow:auto;
}

.ComboBoxListWrapper{
position:relative;
top:-10px;
}

.ComboBoxList{
 border: 1px solid red;
 width:288px;
 position:absolute;
 z-index:2;
 margin-left:180px;
}

.ComboBoxList a {
   display:block;
   border: 1px solid #DDD7C6;
   border-top:0px;
   float: left;      
   padding: 8px;
   padding-left:0px;
   top:-11px;
   color: #432C01;
   width:279px;
   font-weight: bold;
   font-size: 10px;
   background:white;
}

How do I get the div to expand for the combo-box’s height while still keeping the options list over/above the other form elements?

  • 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-30T00:19:19+00:00Added an answer on May 30, 2026 at 12:19 am

    as i notice using this

    EditorPanesWrapper

    inside the TD make the size fix,

    Try to give an specific width and height in % if you want it to adjust to the content of your page.

    Another question why do you need to put it into a table ? you can just use div

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

Sidebar

Related Questions

Please see this jsFiddle: https://jsfiddle.net/Wmq6f/ I have a textarea that has a background image,
Please see this UI sketch image, I have this div in sidebar (black box)
I have a an object of type Picture that contains a List Comments see
I have this page that displays pictures in a div. I have jquery cycle
Please see this fiddle I want the scrolling div stop following when left div
To understand what I mean, please see this snippet: <table style=width: 100%> <tbody><tr><td> <div
Please see the back trace below, I don´t think I have seen this before
It seems that i cannot access $(this) inside jquery ajax success function. please see
First of, please check this picture: As you can see, left from Today and
Please see this image: Can someone explain the difference? Edit Let me indicate what

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.