Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

155
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda