I have been experimenting with different methods to align these two buttons in a parallel manner. However, I have come to realize that the buttons only align properly when I remove the html.beginform tag. Unfortunately, I cannot remove this tag. Can you please guide me in the right direction?
Here is the HTML code:
<div class="row">
<div class="col-md-6"></div>
<div class="col-md-6">
@using (Html.BeginForm("ExportExcel", "SalesByBranch", FormMethod.Post@*, new { enctype = "multipart/form-data" }*@))
{
<input type="submit" value="Excel" id="btnExcel" class="btn btn-danger btn-sm form-control" onclick=DataCheck(); style="width:80px;height:30px;" />
}
@using (Html.BeginForm("ExportPDF", "SalesByBranch", FormMethod.Post@*, new { enctype = "multipart/form-data" }*@))
{
<input type="submit" value="PDF" id="btnPDF" class="btn btn-danger btn-sm form-control" onclick=DataCheck(); style="width:80px;height:30px;" />
}
</div>
</div>
I appreciate your assistance in advance.