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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:21:05+00:00 2026-06-13T13:21:05+00:00

I have code as shown in http://jsfiddle.net/Lijo/PJcZQ/ . It has tow divs with similar

  • 0

I have code as shown in http://jsfiddle.net/Lijo/PJcZQ/. It has tow divs with similar content “GROUP1” and “GROUP2” – only difference being the following

GROUP 1

  <div class="secondTextBox">
  <select name="ctl00$detailContentPlaceholder$ddlStatus" id="detailContentPlaceholder_ddlStatus" class="dropdownItem" style="width: 120px;">
  </select>
  </div>

GROUP 2

 <div class="secondTextBox">
 <input name="ctl00$detailContentPlaceholder$txtVal2" type="text" id="detailContentPlaceholder_txtVal2" style="width: 120px;" />
 </div>

CSS

.searchValuesDiv
{
padding: 10px 0 0 20px;
margin:20px 0 20px 0px;
border:1px solid Cyan;
overflow:auto;
}

Group 1 is not behaving as expected – the div containing the button starts from a wrong position.

Note: This issue is not reproducible while seeing from jsFiddle. This can be reproduced when a HTML page is created with that code.

  1. Why is it behaving so? [Can you explain why it was not a problem when I used “Input” element?]
  2. How can we correct it?

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-06-13T13:21:06+00:00Added an answer on June 13, 2026 at 1:21 pm

    There is a missing float in the .searchLine.. I hope it fix your problem

    Change the css to this:

    .searchLine
    {    
        float:left;
        width:auto;
        min-width:700px;
        height:auto;
        margin:1px 1px 1px 1px;
        padding: 0 0 0 0px;
    }
    

    or

    .searchLine
    {    
        clear:both;
        width:auto;
        min-width:700px;
        height:auto;
        margin:1px 1px 1px 1px;
        padding: 0 0 0 0px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code: http://jsfiddle.net/uRCL2/1 At the moment the result is shown in
I have HTML as shown in http://jsfiddle.net/Lijo/SCYVN/4/ . There is optionLine class with blue
I have checkboxes as shown in http://jsfiddle.net/Lijo/Fw3fz/ . I need to align the checkboxes
I have this code I'm working on, see link: http://jsfiddle.net/PqsAD/3/ The problem is depending
JSfiddle (showing the non-working code) here: http://jsfiddle.net/ts2Rr/ I have three boxes that a user
Source code at: http://jsfiddle.net/lski/4aTm5/ I have succeeded in getting the above code in Firefox,
I have the following code: http://jsfiddle.net/YfzbZ/ HTML <dl class=dropdown right> <dt><a>Options</a></dt> <dd> <ul style=display:none;>
I have the following code http://jsfiddle.net/tbedf/5/ and it works.But I am wondering if I
Best shown with a Fiddle: http://jsfiddle.net/Jnttm/ How can I get the sub-menu to center
I've tried to recreate my issue in jsfiddle: http://jsfiddle.net/erU5J/72/ I have a textarea: When

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.