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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:27:41+00:00 2026-05-31T15:27:41+00:00

Currently I have a row of input elements with a select and another disabled

  • 0

Currently I have a row of input elements with a select and another disabled one below.

http://jsfiddle.net/WRWvJ/

When the user clicks on the text another is added before it.

However, when the rows are added the spacing between the input elements is all messed up. Doesn’t seem like the default browser CSS is being applied to them when they are added.

Any ideas as to why the margins would be off like this between the and 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-31T15:27:43+00:00Added an answer on May 31, 2026 at 3:27 pm

    It is because of the white space in your markup you see it renders correctly. But when you add the elements dynamically using append method it does not add any white spacing but just the elements you pass to append.

    In order to render it fine use css to control the layout of the elements. Or make use of containers instead of just appending the elements.

    Working demo – http://jsfiddle.net/WRWvJ/7/

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

Sidebar

Related Questions

Currently I have my code putting user input into a one-dimensional ArrayList, but I
I am using VB.net within Visual Studio 2008. I currently have GridControl where one
I currently have the following row in my table: course_data: user_id days <-- This
Currently I have a a text file with data at the first row is
I have a simple bit of jQuery which displays the row below the current
I currently have a query that looks like this: SELECT NON EMPTY ([Measures].[TOTAL]) ON
I currently have two joined tables in a SQL Server database, one with news
I have 3 sets of 4 input fields that I want the user to
I want to have one label that is associated with the input field. Some
I have an interesting situation - I have a table row which, currently, shows

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.