We are looking to create two inline divs where the first div is aligned to the left and the second div is centered on the same line.
<div style="margin-top:200px;">
<div align="left" style="display:inline;">
<label>Restrict to Primary Location:</label>
@(Html.Kendo().DropDownList()
.Name("ddl_restictToPrimaryLoc")
.DataTextField("Text")
.DataValueField("Value")
//.Events(e => e.Change("restictToPrimaryLocChange"))
.BindTo(new List<SelectListItem>() {
new SelectListItem() {
Text = "Yes",
Value = "1"
},
new SelectListItem() {
Text = "No",
Value = "0"
}})
.Value("1")
.HtmlAttributes(new { style = "width: 5%", @class = "form-control" }))
</div>
<div align="center" style="display:inline;">
<button type="button" value="button" id="btn_AddSelection" class="jqButton margin-bottom10">Add Selection</button>
</div>
</div>
This setup currently displays both the divs aligned to the left. Any suggestions for achieving the desired alignment?