Take off the
Width
and
Height
from both lists.
The
form-control
class will set the list to 100% width; if you want the labels to display on the same line as the lists, you can't put then in the same container. Either split them out into separate columns, or add another container within the
col-md-4
element.
<div class="row">
<div class='col-md-4'>
<div style="display:flex;">
<asp:Label ID="lblPrintServer" runat="server" Text="PrintServer"/>
<asp:DropDownList ID="dropPrinters" runat="server" CssClass="form-control" AutoPostBack="True"/>
</div>
</div>
<div class='col-md-4'>
<div style="display:flex;">
<asp:Label ID="lblBranch" runat="server" Text="Branch"/>
<asp:DropDownList ID="dropBranches" runat="server" CssClass="form-control" AutoPostBack="True"/>
</div>
</div>
</div>