0
Hi how to move the select one "label" to the right while the info "label" remains to the left. Thank you
</div> <div class="form-group"> <label for="info">Info:</label> <textarea class="form-control" rows="3" id="info"></textarea> </div> <div class="form-group"> <label for="sellist">Select One:</label> <select class="form-control" id="sellist"> <option>A</option> <option>B</option> </select> </div>
2 odpowiedzi
+ 1
Do you want a two column setup? So the first form-group is left and the second form-group on the same line but on the right?
if so the give your form-group class a style of,
.form-group {float:left;}
.form-group:nth-last-child(1) {float:right;}
.form-group > label {float:left;}
.form-group > input {float:left;}
Let me know if you needed something else.
0
Thank you. I got idea and solution based on you answer. Thank you