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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:10:02+00:00 2026-05-20T23:10:02+00:00

I have two textboxes that I want to even out. By even out, I

  • 0

I have two textboxes that I want to even out. By even out, I mean this:

[text] --> < input type="text" / >

[More more text] --> < input type="text" / >

I want the two “inputs” to be inline with each other. How do I move the first input text box to match the position of the second one which is pushed further due to the “more more text”.

  • 1 1 Answer
  • 1 View
  • 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-20T23:10:03+00:00Added an answer on May 20, 2026 at 11:10 pm

    The two bits of text are labels for the input fields, right?

    You can enclose them in a <label> tag, like so:

    <label for='field1'>Some text</label><input type='text' id='field1' /><br />
    <label for='field2'>Some more text</label><input type='text' id='field2' /><br />
    

    Then use CSS styles to fix them to a set width, like so:

    label {
        display:inline-block;
        width:50px;
    }
    

    This should make your input fields line up.

    There’s a whole bunch of other ways to do it, but I’ll leave you with that one.

    Hope that helps.

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

Sidebar

Related Questions

In my code, I have two text boxes that validate input as the user
I have two text boxes that I want users to fill with geolocation data
I have two TextBoxes with corresponding two Buttons. I want that when a TextBox
I have two textboxes <input id='random_value' name='random_name' value='First' <input id='random_value' name='random_name' value='' I need
I have two input text boxes which are decimal. The sum of the two
I have Total Amount Stored in Some Variable,Two TextBoxes, Discount Percentage Discount Amount that
I have a text document that looks similar to this: R.D. P.N. X Y
I want to have a button's IsEnabled to only be true if two textboxes
I have two devices(KeyBoard and BarCodeScanner) and 2 textboxes(text box 1 and text box
I have a web page that contains two textboxes and a button. I can't

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.