2
I’m having trouble aligning 2 fields side by side in a form, the first case would be a select next to an input and, the other, two inputs.
Ex:
HTML:
<li>
<label>Selecione algo</label>
<select>
<option disabled>Selecione Algo</option>
</select>
<label>Escreva algo</label>
<input type="text"/>
</li>
<li>
<input type="text"/>
<div id="checkbox">
<label> Marque algo
<input type="checkbox"/> Marcado
</label>
</div>
</li>
I moved the <form> of place because inside has some Ivs and other fields and it seems that defaced everything, I know very little of css, but I saw something new in this code, display: flex?
– Thiago
@NGTHM4R3 display: flex, helps a lot in alignment. I suggest you google for "flex box"! d
– Henrique.Araujo