Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

160
Views
label not aligning with select box

My label is not aligning with my select box. Instead, it is sitting below the previous div, which is in the middle of the page.

The select box sits to the far left. The for and name values match, so I don't understand why they are separated.

I am using style="display:inline;" on the previous div and style="display:inline-block;vertical-align:top" on the div following.

Even if I replace label with span it still sits under the previous div in the centre of the page. Any ideas?

This is the whole problem div.

  <div class="form-group">
  <div class="dropdown" dropdown>
  <label class="label-text" for="unit" >Cm/Inch</label>
  <select class="form-control" id="unit" style="width:150px;" 
(ngModelChange)="onUnitChange($event)"
          [(ngModel)]="job_entry.units" name="unit">
    <option disabled hidden [value]="undefined">select unit </option>
    <option  value="cm">centimeters</option>
    <option  value="inch">inches</option>
  </select>
</div>

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!