I am trying to prevent one of the three divs inside a fixed top navbar container from sliding underneath another, causing the navbar to become taller. The code below is using Bootstrap and the issue is with the navbar-header div sliding underneath the header-full-title div. I want to force the navbar-header to resize since it's an img-responsive element.
<nav class="navbar navbar-default navbar-fixed-top navbar-header-full">
<div class="container">
<div class="header-full-title img-responsive">
<img src="~/Content/img/MTC_logo_header.png" class="img-responsive" />
</div>
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
@*<a class="navbar-brand" href="#">
<img src="~/Content/img/MTC_logo_header.png" class="img-responsive" alt="">
</a>*@
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class=" nav navbar-nav navbar-right">
<li><a href="#" class="navStyle">OUR STORY</a></li>
<li><a href="#" class="navStyle">VISIT</a></li>
<li><a href="#" class="navStyle">DIRECTORY</a></li>
<li><a href="#" class="navStyle">CONDOS</a></li>
<li><a href="#" class="navStyle">APARTMENTS</a></li>
<li class="dropdown">
<a href="#" class="navStyle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">EVENTS</a>
<ul class="dropdown-menu dropDownMTC pull-right">
<li><a href="#">YOGA ROCKS THE PARK</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">MONDAY NIGHT MOVIES</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">HORSES OF HONOR</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">THURSDAY IN THE PARK</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">EVENT SHUTTLE</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">HOLIDAY LIGHTS FESTIVAL</a></li>
</ul>
</li>
<li><a href="#" class="navStyle">NEWS</a></li>
</ul>
</div>
</div>
</nav>
CSS
.header-full-title {
float: left;
padding-left: 20px;
}