我的剃刀视图中有以下内容:-
<div style="float:right">
@using (Ajax.BeginForm(
new AjaxOptions
{
HttpMethod = "get",
InsertionMode = InsertionMode.Replace,
LoadingElementId = "progress",
UpdateTargetId = "customerTable"
}))
{
<text>Search</text> <input placeholder="Search by name.." name="searchTerm" type="text" data-autocomplete-source= "@Url.Action("AutoComplete", "Customer")" />
<input class="btn btn-success" type="submit" value="search" />
<img src="~/Content/Ajax-loader-bar.gif" class="loadingimage" id="progress" />
}
</div>
<div id="customerTable">
@Html.Partial("_CustomerTable", Model)
</div>
该布局将在 IE 和 chrome 上显示良好,但在 Firefox 上将超出布局,如下所示:-
那么可能是什么导致了这个布局错误呢?