Twitter Bootstrap 3 搜索框未正确显示

Twitter Bootstrap 3 Search Box not Displaying Correctly

我正在使用 bootstrap v3.3.5 和 VS 2015 Framework 4.6 我的默认 Web 应用程序项目。我试图让搜索框在导航栏上显示圆边,并显示占位符文本。我得到的是直边,没有占位符文本,没有字形图像,并且按钮显示在它下面的行中。下面是我的 asp.net 标记代码:

    <!DOCTYPE html>
    <html lang="en">
    <head runat="server">
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title><%: Page.Title %> - My ASP.NET Application</title>

    <asp:PlaceHolder runat="server">
        <%: Scripts.Render("~/bundles/modernizr") %>
    </asp:PlaceHolder>

    <webopt:bundlereference runat="server" path="~/Content/css" />
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />

    <script src="Scripts/WebForms/MSAjax/MicrosoftAjax.js" language="JavaScript"></script>
    <script src="Scripts/jquery-1.10.2.js" language="JavaScript"></script>
    <script src="Scripts/bootstrap.js" language="JavaScript"></script>
    <script src="Scripts/respond.js" language="JavaScript"></script>
    <script src="Scripts/WebForms/WebForms.js" language="JavaScript"></script>

</head>
<body>
    <!--<form runat="server">
        <asp:ScriptManager runat="server">
            <Scripts>


    <%--To learn more about bundling scripts in ScriptManager see http://go.microsoft.com/fwlink/?LinkID=301884 --%>
                <%--Framework Scripts--%>
                <asp:ScriptReference Name="MsAjaxBundle" />
                <asp:ScriptReference Name="jquery" />
                <asp:ScriptReference Name="bootstrap" />
                <asp:ScriptReference Name="respond" />
                <asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
                <asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
                <asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
                <asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
                <asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
                <asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
                <asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
                <asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
                <asp:ScriptReference Name="WebFormsBundle" />
                <%--Site Scripts--%>
            </Scripts>
        </asp:ScriptManager>-->

        <div class="navbar navbar-default navbar-fixed-top" role="navigation">


 <div class="container">

                    <a class="" href="~/">
                        <img class="" src="Images/openrecordslogo.jpg" />
                    </a>


                <div class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        <li class="dropdown">
                            <a href="~/" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Home<span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="#">Appeal Form</a></li>
                                <li><a href="#">Another action</a></li>
                            </ul>
                        <li>
                        <li class="dropdown">
                            <a href="~/" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Advanced Search<span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="#">Action</a></li>
                                <li><a href="#">Another action</a></li>
                            </ul>
                        <li>
                        <li class="dropdown">
                            <a href="~/" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Reports Generation<span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="#">Action</a></li>
                                <li><a href="#">Another action</a></li>
                            </ul>
                        <li>
                        <li class="dropdown">
                            <a href="~/" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Other Applications<span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="#">RTKL Application</a></li>
                            </ul>
                        <li>
                        <li class="dropdown">
                            <a href="~/" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Resources<span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="#">Resource 1</a></li>
                            </ul>
                        <li>
                        <li>
                    </ul>
                    <form class="navbar-form navbar-left" role="search">
                        <div class="form-group">
                            <input type="text" class="form-control" placeholder="Search">
                        </div>
                        <button type="submit" class="btn btn-default">Submit</button>
                    </form>
                </div>
            </div>
        </div>
    <div class="container body-content">


    <asp:ContentPlaceHolder ID="MainContent" runat="server">
    </asp:ContentPlaceHolder>
    <hr />
    <footer>
    <p>&copy; <%: DateTime.Now.Year %> - My ASP.NET Application</p>
    </footer>

    </div>

    <!--</form>-->
    </body>
    </html> 

我在兼容模式下使用 localhost。