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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:19:30+00:00 2026-06-15T11:19:30+00:00

I have markup like <div> <label for=a class=float-left>column 1 row 1</label> <input type=text value=column

  • 0

I have markup like

<div> <label for="a" class="float-left">column 1 row 1</label> <input type="text" value="column 2 row 1" id="a"  class="float-left"/>

<div class="float-clear"></div>

<div> <label for="b" class="float-left">longer column 1 row 2</label> <input class="float-left" type="text" value="column 2 row 2" id="b" />   

<div class="float-clear"></div>

<div> <label class="float-left" for="c">column 1 row 2</label> <input class="float-left" type="checkbox" id="c" />

How can I make column two rows to be aligned on the left, currently they are positioned depending on the length of the the text in the label? I don’t want a full CSS grid just for this one place where I need alignment.

  • 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-15T11:19:32+00:00Added an answer on June 15, 2026 at 11:19 am

    If you just want it this one place, you can do it with margin-left.

    Another answer is to make your labels inline-block elements and give them all a set width.

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

Sidebar

Related Questions

My html markup looks like this.. <div class=siteCheckboxes> <label for=filterAll> All <input name=filterAll type=checkbox
I have the following mark-up: <fieldset> <div> <label class=editor-label>Question 1?</label> <input type=text class=editor-field />
I have the following markup for my input fields: <div class=required> <label for=Name>Name <em>*</em></label>
I have a markup like this: <div class=sentence> <ul title=list 3> <li> <ul title=list
I have the following markup. I would like to add class_A to <p class=subitem-text>
If I have markup like this: <!-- Other Content --> <div id=container> <div class=draggable>
I have a markup like this: <div class=classA classB>the content</div> What I would like
I have some markup like so: <li> <span> <div> <a href=# class=anchor menu-active>Afghanistan</a> <div
I'm have markup like this: <div class=imagegroup> <img> <img> <img> </div> <div class=imagegroup> <img>
I have the markup like that: <div class=outer> <a class=btn> <img src=btnImg.jpg /> </a>

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.