Navbar品牌错误引导程序3

时间:2018-07-23 20:22:52

标签: html5 twitter-bootstrap twitter-bootstrap-3 nav

当我在手机中测试我的应用程序时,导航栏看起来像这样(图片)。我正在使用照片作为品牌。 Error

https://drive.google.com/file/d/1e_JoTro927eo0fS7LLmg7Fn_WASHVl3X/view?usp=sharing

我的代码:

<div class="navbar" style="margin-bottom:0px;">
        <div class="row">
            <div class="col-md-12">
                <nav id="navbar2" class="navbar navbar-default navbar-fixed-top" role="navigation" style="margin-bottom:0px;">
                    <div class="container-fluid">
                        <div class="navbar-header">
                            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-body" aria-expanded="false" aria-controls="navbar">
                                <span class="icon-bar" style="color:white;"></span>
                                <span class="icon-bar" style="color:white;"></span>
                                <span class="icon-bar" style="color:white;"></span>
                            </button>
                            <a class="navbar-brand" href="http://www.helpmerecommender.com" style="padding-top:0px;"> 
                                <img src="src"/>
                            </a>
                        </div>
                        <div class="collapse navbar-collapse" id="navbar-body">
                            <div class="col-sm-6 col-md-6">
                                <form class="navbar-form" role="search">
                                    <div class="input-group">
                                        <span class="input-group-addon round"><span class="glyphicon glyphicon-search"></span></span>
                                        <input type="text" class="form-control round" placeholder="Search" name="srch-term" id="srch-term">
                                    </div>
                                </form>
                            </div>
                            <ul class="nav navbar-nav navbar-right">
                                <ul class="nav navbar-nav navbar-collapse navbar-right" style="margin-bottom:0px;">
</ul>
<li class="dropdown">
            <a href="#" style="color:white;" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">¡Bienvenido <strong>Usuario<strong> <span class="caret"></span></a>
            <ul class="dropdown-menu">
                <li><a href="#">Perfil</a></li>
                <li><a href="#">Cerrar sesión</a></li>
            </ul>
        </li>
                            </ul>
                        </div>
                    </div>
                </nav>
            </div>
        </div>
    </div>

0 个答案:

没有答案